crashcat docs
    Preparing search index...
    • Get current position along the slider axis. Recomputes the position from the current body transforms (not cached).

      Parameters

      • constraint: SliderConstraint

        the slider constraint

      • bodies: Bodies

        the bodies collection

      Returns number

      current distance from the rest position