Jump to content

Rotating a circle along a path


schmevie15
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...