Skip to content

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.

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: Vec3 | null

Defined in: physics3d/Physics3DJoints.ts:210

The far anchor, on the connected entity. Distance joints only.


connectedEntity: number

Defined in: physics3d/Physics3DJoints.ts:206


enabled: boolean

Defined in: physics3d/Physics3DJoints.ts:213


type: string

Defined in: physics3d/Physics3DJoints.ts:205