Cocos2d: carom like game
- by Raj
Now I am working on carrom like game using cocos2d+Box2d. I set world gravity(0,0), want gravity in z - axis.
I set following value for coin striker body:
Coin body:
density = 20.0f;
friction = 0.4f;
restitution = 0.6f;
Shape Circle with radius - 15/PTM_RATIO
Striker body:
density = 25.0f;
friction = 0.6f;
restitution = 0.3f;
Shape Circle with radius - 15/PTM_RATIO
Output is not smooth, when I apply ApplyLinearImpulse(force,position);
Coin movement looks like floating in air....takes too much time to stop...
Which value of coin and striker makes it look like real carom?