R/cpBody.R
cpBodyGetCenterOfGravity.Rd
Get 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);