Jump to content

Is camera.lockedTarget supposed to follow a moving mesh?


JCPalmer
 Share

Recommended Posts

I am kind of thinking not.  As my mesh flies away, it just disappears.  Am using FreeCamera & calling:

camera.lockedTarget = scene.getLastEntryByID("Cloth");

Camera has mesh right in center at beginning, & is not movable by mouse.  Maybe my expectation are too high. :(   Would gladly hear that I am just not doing it right.

Link to comment
Share on other sites

Now looking at the source code for FreeCamera.  saw a property noRotationConstraint = false;  I changed it true.  Did nothing.  At the end of my thing, I happened to click, and suddenly the mesh was back in the middle of the canvas.

 

I tried running and clicking every so often, and the camera crudely shifted.  So it looks like my answer may be yes.  Is there a way which avoids the clicking repeatedly?

 

Thanks,

 

Jeff
 

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...