- Documentation
- Shared functions
- getElementBoneRotationOffset
Function
getElementBoneRotationOffset
Returns the rotation of an element attached to a bone (in degrees).
Syntax
float, float, float getElementBoneRotationOffset(element theElement)Arguments
theElementelement- The element.
Returns
rx, ry, rz, or false if the element is not attached to a bone.
Example
local rx, ry, rz = getElementBoneRotationOffset(box)