schmevie15 Posted November 25, 2014 Share Posted November 25, 2014 Hey all, I am currently trying to rotate a ball along the ground using the rotateLeft and rotateRight methods included in P2 physics. Currently the behavior is that the ball rotates but it doesn't seem to move upon rotating but rather it gets a couple of revolutions in and then glides across and then even when the ball has stopped rotating it continues to slide across. I'm guessing this has to do with there not being any friction, is there any way to get friction on the world balls or is it better to just add a material and have the ball rotate along it? Any help is greatly appreciated thanks!Example here:https://dl.dropboxusercontent.com/u/15582110/meteroar%21/Meteroar.html Link to comment Share on other sites More sharing options...
valueerror Posted November 25, 2014 Share Posted November 25, 2014 i would definitelty let p2 do the rotation.. just give the ball a circle shape, some friction and a velocity.. the rotation should come on its own and look more natural.. maybe you need a little bit of damping for the rotation so it won't get too fast.. Link to comment Share on other sites More sharing options...
Recommended Posts