R/cpBody.R
cpBodyGetCenterOfGravity.RdGet the offset of the center of gravity in body local coordinates.
cpBodyGetCenterOfGravity(body)
| body | [ |
|---|
[cpVect *]
C function prototype: CP_EXPORT cpVect cpBodyGetCenterOfGravity(const cpBody *body);