Base class for different types of constraint interfaces.

Hierarchy (view full)

Accessors

Methods

  • Allows to enable/disable a constraint without destroying it.

    Parameters

    • enabled: boolean

      true - enable constraint, false - disable.

    • Optional activate: boolean = true

      If true, activate connected bodies after changing the state.

    Returns void