Jump to content

Mesh as camera target


Hersir
 Share

Recommended Posts

Hi, I used feature that you can pass mesh as target for camera, so camera will move together with it. Playground also older example from different topic.

It was working fine but lately I upgraded to git version of babylonjs, and this feature stoped to work. (In some cases it doesn't work at all, sometimes it works if you use animation to change the position of target mesh). If you rotate the camera it will jump to the correct position but it doesn't react on position changes of mesh.

Is it bug or something changed in api?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...