Skip to content

Joint3DShape

Defined in: sdk/src/physics3d/Physics3DJoints.ts:252

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: sdk/src/physics3d/Physics3DJoints.ts:256

Null for a fixed joint, which has no anchor — the pose is the joint.


axis: Vec3 | null

Defined in: sdk/src/physics3d/Physics3DJoints.ts:260

The axis a hinge turns about or a slider travels along.


connectedAnchor: Vec3 | null

Defined in: sdk/src/physics3d/Physics3DJoints.ts:258

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


connectedEntity: number

Defined in: sdk/src/physics3d/Physics3DJoints.ts:254


enabled: boolean

Defined in: sdk/src/physics3d/Physics3DJoints.ts:261


optional limits?: SwingTwistJoint3DData | SixDOFJoint3DData

Defined in: sdk/src/physics3d/Physics3DJoints.ts:262


type: string

Defined in: sdk/src/physics3d/Physics3DJoints.ts:253