Best practices request

Official forum for the Chipmunk2D Physics Library.

Best practices request

Postby Dredok » Fri Apr 17, 2015 1:37 pm


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?
Posts: 2
Joined: Sat Apr 11, 2015 1:08 pm

Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 1 guest