Jump to content

Is Camera.LockedTarget fully implemented?


JCPalmer
 Share

Recommended Posts

I am making the last of my to do list of features to Tower Of Babel.  I noticed these lines in BabylonFileLoader:

 if (camera._waitingLockedTargetId) {           camera.lockedTarget = scene.getLastEntryByID(camera._waitingLockedTargetId);            delete camera._waitingLockedTargetId; }

_waitingLockedTargetId is set earlier in the script, when LockedTargetId member is found in a camera. 

 

I have found in the Blender python API, where you can have a camera track a mesh.  I did so in one of my test blend files, and produced a LockedTargetId for the camera.  I cannot find where this Camera.LockedTarget gets used, and I am not to the point of moving the mesh yet to just see if it tracks or not.  Is this completely implements?

 

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