Function useSphericalJoint

  • The spherical joint ensures that two points on the local-spaces of two rigid-bodies always coincide (it prevents any relative translational motion at this points). This is typically used to simulate ragdolls arms, pendulums, etc. They are characterized by one local anchor on each rigid-body. Each anchor represents the location of the points that need to coincide on the local-space of each rigid-body.

    Parameters

    Returns RefObject<undefined | SphericalImpulseJoint>

Generated using TypeDoc