asperger Posted August 27, 2018 Share Posted August 27, 2018 The FollowCamera only seems to work for positioning and rotation on the x axis. What about the y axis? http://www.babylonjs-playground.com/#12WBC#244 Any reason why this doesnt work? Is there any way to make the camera rotate with the object? Quote Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2018 Share Posted August 27, 2018 Well, if you want to follow on both axis then I think a simple camera which you can make child of the mesh should be enough. Quote Link to comment Share on other sites More sharing options...
asperger Posted August 28, 2018 Author Share Posted August 28, 2018 Well I like the effect the camera has in regards to acceleration etc. I actually wanted to build this type of camera myself but we already have the FollowCamera. Problem is just the Y axis rotation doesnt work or is not implemented. I might have to extend the FollowCamera and implement it myself. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 28, 2018 Share Posted August 28, 2018 If you do so please consider contributing back to the framework Quote Link to comment Share on other sites More sharing options...
asperger Posted August 29, 2018 Author Share Posted August 29, 2018 Hey sure I will. I will write you a pm and let you know : ) GameMonetize and dbawel 1 1 Quote Link to comment Share on other sites More sharing options...
asperger Posted August 30, 2018 Author Share Posted August 30, 2018 By the way I noticed that there is an "ArcFollowCamera" but it doesnt work, or does it? I expect the camera to rotate with the object. Here a playground: http://www.babylonjs-playground.com/#UU7RQ#157 Quote Link to comment Share on other sites More sharing options...
Guest Posted August 30, 2018 Share Posted August 30, 2018 It will follow its position but not the rotation 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.