HingeJoint:setAxis
EditSets the axis of the hinge.
Set the axis using numbers.
Arguments
Name | Type | Description |
x | number | The x component of the axis. |
y | number | The y component of the axis. |
z | number | The z component of the axis. |
Returns
Nothing
Set the axis using a vector.
Arguments
Name | Type | Description |
axis | Vec3 | The axis. |
Returns
Nothing
See also
HingeJoint:getAxis
HingeJoint