Kanaiah Posted December 3, 2015 Share Posted December 3, 2015 Hi, While working with ArcRotateCamera, the camera just passes through the box, instead of stopping, when it collides with a mesh (as mentioned here: https://github.com/BabylonJS/Babylon.js/wiki/09-Cameras-and-mesh-collisions#arcrotatecamera). Here's the example: http://www.babylonjs-playground.com/#4HUQQ#39 If its FreeCamera, it just slides, but this is not working with ArcRotateCamera. Am I missing something or is this how ArcRotateCamera works? Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 3, 2015 Share Posted December 3, 2015 Yep, that's a bug . Here is a quick fix - http://www.babylonjs-playground.com/#4HUQQ#40I will commit this in a sec. Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted December 3, 2015 Share Posted December 3, 2015 You see Raanan, I had an intuition about this method just at the right time !! RaananW 1 Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 3, 2015 Share Posted December 3, 2015 yep. such a perfect timing... 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.