zazzà Posted November 23, 2016 Share Posted November 23, 2016 Hi all, here the link http://www.babylonjs-playground.com/#D8QSF#0 I begin now with babylon and try to understand movement and collision.. my problem is: when the sphere touch the box running and not have mode to stop the sphere.. I try to change value of "friction" and "restitution" but the result is the same.. the sphere run until go out of the ground.. I want a simple bounce.. someone can explain where i mistake? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 23, 2016 Share Posted November 23, 2016 ping @RaananW Quote Link to comment Share on other sites More sharing options...
RaananW Posted November 23, 2016 Share Posted November 23, 2016 So, before I write down what I did - http://www.babylonjs-playground.com/#D8QSF#1 I just have no time to explain, but the main thing is - don'T change position, use impulses and forces, which is what the physics engine understands. I will explain further when I get the chance, probably tomorrow. Quote Link to comment Share on other sites More sharing options...
zazzà Posted November 24, 2016 Author Share Posted November 24, 2016 thank you for reply 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.