Interface
Upper limit of the constraint. In meters.
Lower limit of the constraint. In meters.
Optional spring settings to use a spring when constraining limits.
Maximum amount of friction force to apply when not driven by a motor.
Optional motor settings to use a motor that will drive the constraint.
Override for the number of solver position iterations to run. If set to 0
, the constraint
will use global default set by Physics initialization setting
JoltInitSettings.numPositionSteps.
Override for the number of solver velocity iterations to run. If set to 0
, the constraint
will use global default set by Physics initialization setting
JoltInitSettings.numVelocitySteps.
First body position in constraint reference frame. Space is determined by space property.
Second body position in constraint reference frame. Space is determined by space property.
Reference frame that point1
and point2
use. Following constants available:
CONSTRAINT_SPACE_LOCAL
CONSTRAINT_SPACE_WORLD