securet Posted December 8, 2016 Share Posted December 8, 2016 camera.target= xyz; doesn't work anymore. Quote Link to comment Share on other sites More sharing options...
adam Posted December 8, 2016 Share Posted December 8, 2016 Try camera.setTarget: https://github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/babylon.targetCamera.ts#L108 edit: followCamera extends targetCamera: https://github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/babylon.followCamera.ts#L2 Quote Link to comment Share on other sites More sharing options...
adam Posted December 8, 2016 Share Posted December 8, 2016 It's mentioned in the breaking changes for 2.5: https://github.com/BabylonJS/Babylon.js/releases/tag/v2.5.0 "FollowCamera.target was renamed to FollowCamera.lockedTarget to avoid conflicts" GameMonetize and Sebavan 2 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.