eulerjs API / @eulerjs/core / BaseJointOptions
BaseJointOptions
Defined in: packages/core/src/joints/BaseJoint.ts:4
Extended by
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
bodyA | Body | - | packages/core/src/joints/BaseJoint.ts:5 |
bodyB? | Body | The other body. Leave out to tie body A to the world. | packages/core/src/joints/BaseJoint.ts:7 |
breakForce? | number | The joint breaks, and the world removes it, once it carries more force than this, in newtons. Defaults to Infinity. | packages/core/src/joints/BaseJoint.ts:16 |
breakTorque? | number | The joint breaks once it carries more torque than this, in newton metres. Defaults to Infinity. | packages/core/src/joints/BaseJoint.ts:18 |
collideConnected? | boolean | "unlessOverlapping" | Whether the two bodies still collide with each other. Defaults to true; turn it off for parts that overlap where they are joined, such as a ragdoll's thigh and shin. 'unlessOverlapping' decides when the joint is added to the world: they collide unless their colliders overlap then, as joined limbs do and a shoulder that clears the chest doesn't. | packages/core/src/joints/BaseJoint.ts:14 |
