JCPalmer Posted July 21, 2014 Share Posted July 21, 2014 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 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 21, 2014 Share Posted July 21, 2014 It is In freeCamera.js in _getViewMatrix function Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.