RSX Code Reference
    Preparing search index...
    • rsx
    • LimitConeRange

    Class LimitConeRange

    Represents a joint limit that contraints movement to within an elliptical cone.

    Index
    _spring: Spring
    _yLimitAngle: rsx.Degree
    _zLimitAngle: rsx.Degree
    • get spring(): Spring

      Spring that controls how are the bodies pulled back towards the limit when they breach it.

      Returns Spring

    • set spring(value: Immutable<Spring>): void

      Parameters

      Returns void

    • get yLimitAngle(): rsx.Degree

      Y angle of the cone. Movement is constrainted between 0 and this angle on the Y axis.

      Returns rsx.Degree

    • set yLimitAngle(value: rsx.Degree): void

      Parameters

      Returns void

    • get zLimitAngle(): rsx.Degree

      Z angle of the cone. Movement is constrainted between 0 and this angle on the Z axis.

      Returns rsx.Degree

    • set zLimitAngle(value: rsx.Degree): void

      Parameters

      Returns void