JointMotorConfig
Defined in: physics/src/types.ts:114
At least one target is required. All numbers must be finite.
Properties
Section titled “Properties”damping?
Section titled “damping?”
optionaldamping?:number
Defined in: physics/src/types.ts:122
Non-negative damping. A velocity-only motor needs a positive value. Default: 0.
position?
Section titled “position?”
optionalposition?:number
Defined in: physics/src/types.ts:118
Target angle in radians or distance along a prismatic axis in pixels.
stiffness?
Section titled “stiffness?”
optionalstiffness?:number
Defined in: physics/src/types.ts:120
Non-negative acceleration-based strength, passed to the solver without conversion. Default: 0.
velocity?
Section titled “velocity?”
optionalvelocity?:number
Defined in: physics/src/types.ts:116
Target speed in rad/s for revolute joints or px/s for prismatic joints.
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.