Joint3DShape
Defined in: physics3d/Physics3DJoints.ts:204
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:208
Null for a fixed joint, which has no anchor — the pose is the joint.
axis:
Vec3|null
Defined in: physics3d/Physics3DJoints.ts:212
The axis a hinge turns about or a slider travels along.
connectedAnchor
Section titled “connectedAnchor”connectedAnchor:
Vec3|null
Defined in: physics3d/Physics3DJoints.ts:210
The far anchor, on the connected entity. Distance joints only.
connectedEntity
Section titled “connectedEntity”connectedEntity:
number
Defined in: physics3d/Physics3DJoints.ts:206
enabled
Section titled “enabled”enabled:
boolean
Defined in: physics3d/Physics3DJoints.ts:213
type:
string
Defined in: physics3d/Physics3DJoints.ts:205