Class LimitLinear

Represents a joint limit between zero a single distance value.

Constructors

Properties

Accessors

Methods

Constructors

Properties

_extent: number
_spring: Spring

Accessors

  • get extent(): number
  • Distance at which the limit becomes active.

    Returns number

  • set extent(value): void
  • Parameters

    • value: number

    Returns void

  • get spring(): Spring
  • Spring that controls how are the bodies pulled back towards the limit when they breach it.

    Returns Spring

  • set spring(value): void
  • Parameters

    Returns void

Methods

  • Clones this instance and returns a new LimitLinear with identical values.

    Returns LimitLinear