Best practices request

Official forum for the Chipmunk2D Physics Library.
Post Reply
Dredok
Posts: 2
Joined: Sat Apr 11, 2015 1:08 pm
Contact:

Best practices request

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests