hit2501 Posted February 27, 2015 Share Posted February 27, 2015 Hi. I have a scene which I explore with a freecamera but I want the camera not cross the floor and the walls and remain at the same level (without going up or down) how can I do this? Thank you very much. Quote Link to comment Share on other sites More sharing options...
davrous Posted February 27, 2015 Share Posted February 27, 2015 Hi, You simply need to set gravity & collisions enabled. Did you have a look to our documentation: http://doc.babylonjs.com ? Please have also a look to the playground, you have a sample doing exactly what you'd like to do: http://www.babylonjs-playground.com/index.html?9 Bye, David Quote Link to comment Share on other sites More sharing options...
hit2501 Posted February 27, 2015 Author Share Posted February 27, 2015 Thank you David thats what I was looking for. 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.