Herbert Posted October 18, 2017 Share Posted October 18, 2017 hi, I have a physic body which should be static on the ground, but I log it's position, and it actually keep changing slightly, why? https://playground.babylonjs.com/#KQBGAR Quote Link to comment Share on other sites More sharing options...
Raggar Posted October 18, 2017 Share Posted October 18, 2017 What about giving it 0 friction? https://playground.babylonjs.com/#KQBGAR#1 Herbert 1 Quote Link to comment Share on other sites More sharing options...
Herbert Posted October 18, 2017 Author Share Posted October 18, 2017 Thanks, friction it is but where does the velocity come from while both ground and box have no rotation ? Quote Link to comment Share on other sites More sharing options...
RaananW Posted October 19, 2017 Share Posted October 19, 2017 Small movements due to constant collision are expected. This is why the friction solved it. You can put the body to "sleep", which will only wake up after the next collision. Herbert 1 Quote Link to comment Share on other sites More sharing options...
Herbert Posted October 20, 2017 Author Share Posted October 20, 2017 putting it to sleep sounds good, thanks 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.