top of page

ObjectiveChipmunk CpTumble

Ian Fan Jan 2012



Target:

Put some squares in a box, keep the box rotating and keep the squares tumbling.
 

Sample Code:

https://github.com/IanFan/CpTumble

Step:

 

1. Set ChipmunkSpace, ChipmunkMultiGrab.


2. Set ChipmunkObjects, including some squares and a box.

 

Further Link:

 

1. Check the reference in the Chipmunk Official Website too: https://github.com/slembcke/ChipmunkShowcase

bottom of page