top of page

ObjectiveChipmunk CpSpace

Ian Fan Dec 2012



Target:

Set the ChipmunkSpace and put a Chipmunk circle object in it.



Sample Code:

https://github.com/IanFan/CpSpace

Step:



0. Import the objective-chipmunk framework. (link: CpTemplate)

 

1. Set ChipmunkSpace.


2. Set Chipmunk circle object with ChipmunkBody and ChipmunkShape.


3. Set CPDebugLayer and the Chipmunk objects will be drawn.


4. Update the ChipmunkSpace step

 

Further Link:

 

1. searching...

bottom of page