Page 1 of 1

Best practices request

Posted: Fri Apr 17, 2015 1:37 pm
by Dredok
Hi,

I'm using cocos2d-x v3.4 which integrates 6.1 chipmunk (I think, cant remember).

I would like to see some use cases and "best practices" section somewhere.

For example, let's say I only care about collisions in a platform game. I have some static bodies (platforms) and some dynamic bodies (enemies and main character). These dynamic bodies I will move them manually in an update basis, I do not want to use physics speed / acceleration. I only want chipmunk for collision detection in this game. Setting bodies to dynamic and setting position manually is ok in this scenario? any drawback? what would be the better approach?