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
Name | Type | Description |
---|---|---|
constrainee | EntityRef | An entity that is a rigid body. |
constrainer | EntityRef | An entity that is a rigid or static body, or simply null. |
breakForce | Float | The force that needs to be applied for this joint to break. |
breakTorque | Float | The torque that needs to be applied for this joint to break. |
enableCollision | boolean | Whether to enable collision between constrainer and constrainee. |