Get the rotation vector of the body. (The x basis vector of it's transform.)

cpBodyGetRotation(body)

Arguments

body

[cpBody *]

Value

[cpVect *]

Details

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