Skip to main content

Joint

type Joint = {
constrainee: EntityRef;
constrainer: EntityRef;
breakForce: Float;
breakTorque: Float;
enableCollision: boolean;
};

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:394

Base component of all the other joint components (revolute_joint, etc.). By itself it will lock the orientations and distances of the constrainer and constrainee.

Type declaration

NameTypeDescription
constraineeEntityRefAn entity that is a rigid body.
constrainerEntityRefAn entity that is a rigid or static body, or simply null.
breakForceFloatThe force that needs to be applied for this joint to break.
breakTorqueFloatThe torque that needs to be applied for this joint to break.
enableCollisionbooleanWhether to enable collision between constrainer and constrainee.