19.4.17 rot

rvec = physics.Body:rot()

Parameter

Type

Description

self

in physics.Body

The input Body

rvec

out physics.Vect

The unit vector orientation of the Body


Returns the vector orientation of the body. This is a unit vector cached from the last calculated angle of the Body.

Introduced in platform.apiLevel = '2.0'