I would like to create a game, and I think that I will use chipmunk to manage physics.
So, my first question : is chipmunk adapted for a racing game on computer? (I heard it's rather adapted for iphone games, is it?)
I've already tried some basic simulations, but I'm wondering many things : really, a body A with a higher mass than a body B get a higher velocity, because of damping. With chipmunk, it seems that there isn't this phenomenon, regardless of the damping. Why?
I also noticed that we cannot define an angular damping different from the linear one. How to simulate this?
I added this code :
Code: Select all
cpBodySetAngVel(body2, cpBodyGetAngVel(body2)*0.95);
cpSpaceStep(space, 0.01);
And my last question : I don't understand how to create a static body, the only way I found was to use cpSpaceAddStaticBody, but the doc says it's deprecated. So, what's the good way to create a static body?
I've undoubtedly missed something in the doc, but I'm french and my english is not perfect :s .