interface Physics6DoFLimit {
    axis: PhysicsConstraintAxis;
    damping?: number;
    maxLimit?: number;
    minLimit?: number;
    stiffness?: number;
}

Properties

axis: PhysicsConstraintAxis

The axis ID to limit

damping?: number

A constraint parameter that specifies damping.

maxLimit?: number

An optional maximum limit for the axis. Corresponds to a distance in meters for linear axes, an angle in radians for angular axes.

minLimit?: number

An optional minimum limit for the axis. Corresponds to a distance in meters for linear axes, an angle in radians for angular axes.

stiffness?: number

The stiffness of the constraint.