Update the collision detection data for all shapes attached to a body.

cpSpaceReindexShapesForBody(space, body)

Arguments

space

[cpSpace *]

body

[cpBody *]

Details

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