Gravity to pass to rigid bodies when integrating velocity.

cpSpaceSetGravity(space, gravity)

Arguments

space

[cpSpace *]

gravity

[cpVect *]

Details

C function prototype: CP_EXPORT void cpSpaceSetGravity(cpSpace *space, cpVect gravity);