JointHandle
Defined in: physics/src/types.ts:149
Live joint created by PhysicsWorld.addJoint.
Properties
Section titled “Properties”attached
Section titled “attached”
readonlyattached:boolean
Defined in: physics/src/types.ts:150
Methods
Section titled “Methods”remove()
Section titled “remove()”remove():
void
Defined in: physics/src/types.ts:152
Detach and free the joint. Safe to call more than once.
Returns
Section titled “Returns”void
setMotor()
Section titled “setMotor()”setMotor(
motor):void
Defined in: physics/src/types.ts:154
Replace the motor settings. Throws for joints without a motor.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”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.