Friction joint. This is used for top-down friction. It provides 2D translational friction and angular friction.

Hierarchy (View Summary)

Constructors

Properties

m_angularMass: number

Angular mass.

m_linearMass: b2Mat22

Linear mass.

Methods

  • Sets the max force.

    Parameters

    • force: number

      New max force.

    Returns void

  • Sets the max torque.

    Parameters

    • torque: number

      New max torque.

    Returns void