HingeJoint:setAxis

Edit

Sets the axis of the hinge.



Set the axis using numbers.

Arguments

NameTypeDescription
xnumber The x component of the axis.
ynumber The y component of the axis.
znumber The z component of the axis.

Returns

Nothing

Set the axis using a vector.

Arguments

NameTypeDescription
axisVec3 The axis.

Returns

Nothing

See also