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.
Properties
Section titled “Properties”anchor
Section titled “anchor”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
Section titled “connectedAnchor”connectedAnchor:
Vec3|null
Defined in: sdk/src/physics3d/Physics3DJoints.ts:258
The far anchor, on the connected entity. Distance joints only.
connectedEntity
Section titled “connectedEntity”connectedEntity:
number
Defined in: sdk/src/physics3d/Physics3DJoints.ts:254
enabled
Section titled “enabled”enabled:
boolean
Defined in: sdk/src/physics3d/Physics3DJoints.ts:261
limits?
Section titled “limits?”
optionallimits?:SwingTwistJoint3DData|SixDOFJoint3DData
Defined in: sdk/src/physics3d/Physics3DJoints.ts:262
type:
string
Defined in: sdk/src/physics3d/Physics3DJoints.ts:253