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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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