R3d.Body:getAngularLockAxisFactor

From GiderosMobile

Available since: Gideros 2020.2
Class: R3d.Body

Description

Gets the angular lock axis factor of a rigid body along the world-space x, y and z axes.

(number), (number), (number) = r3d.Body:getAngularLockAxisFactor()

Return values

Returns (number) the angular lock factor on the x axis
Returns (number) the angular lock factor on the y axis
Returns (number) the angular lock factor on the z axis

Example

print(player1.body:getAngularLockAxisFactor())