First entity this joint is connected to.
Second entity this joint is connected to.
Fixed world point to which body 1 is connected (always in world space).
Vec3(0, 0, 0)
Fixed world point to which body 2 is connected (always in world space).
Vec3(0, 0, 0)
The maximum length of the line segments. Use -1 to calculate the length based on the positions of the objects when the constraint is created.
0
The minimum length of the line segments. Use -1 to calculate the length based on the positions of the objects when the constraint is created.
0
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.
0
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.
0
First body position in constraint reference frame. Space is determined by space property.
Vec3(0, 0, 0)
Second body position in constraint reference frame. Space is determined by space property.
Vec3(0, 0, 0)
Ratio between the two line segments:
MinDistance <= Length1 + Ratio * Length2 <= MaxDistance
1
Reference frame space that point1
and point2
use.
CONSTRAINT_SPACE_WORLD
CONSTRAINT_TYPE_PULLEY
Pulley constraint.