ConeJoint:getAxis
EditReturns the axis of the ConeJoint, in world space. The axis is relative to the first Collider connected to the Joint, so it will rotate as the collider does. The relative angle between the axis and the second collider will be constrained based on the ConeJoint's angle limit.
ax, ay, az = ConeJoint:getAxis()
Arguments
None
Returns
Name | Type | Description |
ax | number | The x component of the axis. |
ay | number | The y component of the axis. |
az | number | The z component of the axis. |