Hey!
First of all I have to say Hello, this is my first post here :)
Now to my problem:
I have 2 bodys. One body rotates (it doesn't change the location, so no X,Y movement) and should slow down the rotation speed by touching the stopper. The stopper is the second body.
As always, pictures say more than words..here you can see how it is now:
http://img717.imageshack.us/i/rotatingbody.png/
So for now, the rotating body is a rectangle with an image (cycle) and the edges (black) are touching the stopper (also black, at the top of the image) when it rotates.
I already implemented the collision detection, so this already works.
Later on I will add stoppers to the cycle and make it more useable.
But for now I need to know, how can I slow down the rotation speed? The "starting speed" will then be based on touchevents, so the "starting speed" will be dynamically.
And does the stopper have to be a b2_dynamicBody or a b2_staticBody?
I also tried some things like ApplyAngularImpulse, then it rotates but I don't know how to just slow down the rotation.
Thanks a lot!
Luc0