HingeJointΒΆ

Inherited: Joint

DescriptionΒΆ

A HingeJoint allows angular movement around its configured axis while constraining the connected bodies at their anchor positions.

Public MethodsΒΆ

Vector3

axis () const

void

setAxis (const Vector3 & axis)

Static MethodsΒΆ

None

Methods DescriptionΒΆ

Vector3 HingeJoint::axis () const

Returns the hinge rotation axis.

See also setAxis().


void HingeJoint::setAxis (Vector3 & axis)

Sets the hinge rotation axis.

See also axis().