Joint3DShape
Defined in: physics3d/Physics3DJoints.ts:213
One joint as a visualizer needs it: which rule, what it connects, and the local geometry that positions it. Anchors and axes are in the declaring entity’s own space, in world units.
Properties
Section titled “Properties”anchor
Section titled “anchor”anchor:
Vec3|null
Defined in: physics3d/Physics3DJoints.ts:217
Null for a fixed joint, which has no anchor — the pose is the joint.
axis:
Vec3|null
Defined in: physics3d/Physics3DJoints.ts:221
The axis a hinge turns about or a slider travels along.
connectedAnchor
Section titled “connectedAnchor”connectedAnchor:
Vec3|null
Defined in: physics3d/Physics3DJoints.ts:219
The far anchor, on the connected entity. Distance joints only.
connectedEntity
Section titled “connectedEntity”connectedEntity:
number
Defined in: physics3d/Physics3DJoints.ts:215
enabled
Section titled “enabled”enabled:
boolean
Defined in: physics3d/Physics3DJoints.ts:222
type:
string
Defined in: physics3d/Physics3DJoints.ts:214