R3d.Body:getLinearLockAxisFactor

From GiderosMobile
Revision as of 22:02, 18 December 2025 by MoKaLux (talk | contribs) (Created page with "'''Available since:''' Gideros 2020.2<br/> '''Class:''' R3d.Body<br/> === Description === Gets the linear lock axis factor of a rigid body along the world-space x, y and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2020.2
Class: R3d.Body

Description

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

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

Return values

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

Example

print(player1.body:getLinearLockAxisFactor())