jerome Posted February 12, 2017 Share Posted February 12, 2017 Hi people, Maybe I missed somehting in the framework changes about the cameras recently. It seems the FollowCamera doesn't follow any longer like it used to do. In this roller-coaster PG, the camera used to follow the coach : http://www.babylonjs-playground.com/#1HH4OJ#5 Does anyone know something about the change ? Quote Link to comment Share on other sites More sharing options...
JohnK Posted February 12, 2017 Share Posted February 12, 2017 Definitely something has changed. This following PG I use as a simple example for the follow camera in my guide no longer follows. http://www.babylonjs-playground.com/#12WBC#78 I last checked this PG 27th January 2017 before suggesting it as a solution in a post on that day. The date may help to track any possible changes. EDIT Appears I got that date wrong as change was back in version 2.5. See below posts. Quote Link to comment Share on other sites More sharing options...
Raggar Posted February 12, 2017 Share Posted February 12, 2017 On 7/12/2016 at 8:38 PM, Deltakosh said: This is because of a breaking changes I introduced in 2.5: http://www.babylonjs-playground.com/#12WBC#82 You now have to use camera.lockedTarget (.target property was conflicting with targetCamera.target) http://www.babylonjs-playground.com/#1HH4OJ#18 Quote Link to comment Share on other sites More sharing options...
jerome Posted February 12, 2017 Author Share Posted February 12, 2017 Thank you for the answer. If you are the author of this new feature, could you please note it the "breaking changes" part of this : https://github.com/BabylonJS/Babylon.js/blob/master/dist/preview release/what's new.md ? [EDIT] sorry, it was already done here : http://doc.babylonjs.com/whats-new GameMonetize 1 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.