Angular Velocity! :S

How can I create a circle which will roll left, and right depending on whether a function is triggered or not. Because I can't seem to find any sort of property in the Box2D library that will accomplish this effect.

Please Help Me!

Thanks in advance! 😀
bump
Bumping your own thread without adding any new information is a really ignorant thing to do.

Think about it, you are asking your peers to donate their time to you to help solve a problem you have while contributing nothing yourself to the discussion or investigation. If you have to update your thread, post what you personally have done to figure this out. Or alternatively you could just say you were busy and didn't do anything.

As for your question, apply angular velocity will spin a cirlce to the left or right depending on the velocity used. If it is in contact with a surface, friction should do the rest. If not, then you have to apply a force in the direction you want. For that matter, if it is held down( by weight or whatever ) and you have it attached to a revolute joint, you could apply a force to the jointed object and the circle should roll.

Basically, think of what you would do in real life and then look at a way to simulate it.

Edit: After re-reading your thread topic I have to say I am confused. If you knew you needed angular velocity...
In real life I would just push it and it would roll.

But I thought the point of create joints is they had to be attached to another object. I'm am purely trying to make the object roll left or right corresponding to what arrow keys are held down.
you could apply force on the x axis.

you could also apply torque to make it spin.

on the ground both results may look simular due to friction, in the air, one will accelerate in spin, the other will accelerate in x velocity.

sometimes its best to use a little of both.

hopefully this gets you closer to your answer, review the b2Body.as class and look for Force and Torque. enjoy.
I recently have been experimenting with APE its alot easier than Box2D but it doesn't have any rectangle physics. =[

Original thread: https://box2d.org/forum/viewtopic.php?t=3720