A mouse joint is used to make a point on a body track a specified world point. This a soft constraint with a maximum force. This allows the constraint to stretch and without applying huge forces. Note: this joint is not fully documented as it is intended primarily for the testbed. See that for more instructions.

Hierarchy (View Summary)

Constructors

Methods

  • Sets the damping ratio.

    Parameters

    • ratio: number

      New damping ratio.

    Returns void

  • Sets the frequency.

    Parameters

    • hz: number

      New frequency (hertz).

    Returns void

  • Sets the max force.

    Parameters

    • maxForce: number

      New max force.

    Returns void