Get the offset of the center of gravity in body local coordinates.

cpBodyGetCenterOfGravity(body)

Arguments

body

[cpBody *]

Value

[cpVect *]

Details

C function prototype: CP_EXPORT cpVect cpBodyGetCenterOfGravity(const cpBody *body);