Add a rigid body to the simulation.

cpSpaceAddBody(space, body)

Arguments

space

[cpSpace *]

body

[cpBody *]

Details

C function prototype: CP_EXPORT void cpSpaceAddBody(cpSpace *space, cpBody *body);