Skip to content

JointHandle

Defined in: physics/src/types.ts:149

Live joint created by PhysicsWorld.addJoint.

readonly attached: boolean

Defined in: physics/src/types.ts:150

remove(): void

Defined in: physics/src/types.ts:152

Detach and free the joint. Safe to call more than once.

void


setMotor(motor): void

Defined in: physics/src/types.ts:154

Replace the motor settings. Throws for joints without a motor.

JointMotorConfig

void

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/physics.md.