ConeJoint:getAxis

Edit

Returns 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

NameTypeDescription
axnumber The x component of the axis.
aynumber The y component of the axis.
aznumber The z component of the axis.

See also