Optional
options: { Optional
angle?: numberThe aperture angle of the cone.
0
Optional
axisA?: Vec3The axis direction for the constraint of the body A.
Optional
axisB?: Vec3The axis direction for the constraint of the body B.
Optional
collideWether to collide the connected bodies or not.
false
Optional
maxThe maximum force that should be applied to constrain the bodies.
1e6
Optional
pivotA?: Vec3The pivot point for bodyA.
Optional
pivotB?: Vec3The pivot point for bodyB.
Optional
twistThe twist angle of the joint.
0
The aperture angle of the cone.
The axis direction for the constraint of the body A.
The axis direction for the constraint of the body B.
Body A.
Body B.
Set to false if you don't want the bodies to collide when they are connected.
Equations to be solved in this constraint.
Pivot, defined locally in bodyA.
Pivot, defined locally in bodyB.
The twist angle of the joint.
Static
id
A Cone Twist constraint, useful for ragdolls.