Richard C Posted December 7, 2016 Share Posted December 7, 2016 I am not able to get CameraFollow to work for me. I assumed I was doing something wrong in my code but when I try a few examples in the PG they don't work either. Could someone try the example from the tutorials and throw some light what my problem might be. Is there any chance it could be an issue with my PC set-up. I have tried it in both Chrome and Explorer. http://www.babylonjs-playground.com/#12WBC#78 The box (target object) is moving in a ellipsoid but the rest of the scene remains static and camera doesn't appear to follow the box. The box reappears when it travels in front of the camera on it's ellipsoid path Thanks Richard C Quote Link to comment Share on other sites More sharing options...
lihis Posted December 7, 2016 Share Posted December 7, 2016 I can't offer any solutions but it's not working for me either so i don't think it's an issue with your PC. Quote Link to comment Share on other sites More sharing options...
Richard C Posted December 7, 2016 Author Share Posted December 7, 2016 Thanks lihis. Could others try it please? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 7, 2016 Share Posted December 7, 2016 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) Quote Link to comment Share on other sites More sharing options...
Richard C Posted December 8, 2016 Author Share Posted December 8, 2016 Deltakosh Many thanks. It must be a nightmare keeping documentation/tutorials/examples all up to date as Babylon.js improvements continue thick and fast. What is the best way for us newbies to keep up with the latest documentation and help, without having to bother the forum quite so often. I feel a bit guilty and/or embarrassed having to keep asking you busy people. Many many thanks for all your work and that of all other contributors. The likes of Babylon.js opens up new worlds to us novices and as a retiree trying to learn new skills, it is very engaging. But it does get a bit like walking through syrup sometimes. I am very grateful that guys like yourself give up so much of your time to develop but it takes the edge off learning a bit when docs etc are not able to be updated. Wish I knew more to enable me to contribute to making Babylon easier to learn - perhaps one day eh? Richard C Wingnut 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 8, 2016 Share Posted December 8, 2016 No worry Richard, it is ALWAYS a pleasure to answer questions from people willing to help! My only ask: keep using Babylon.js and when you feel confident, star answering questions Wingnut 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.