Skip to content

API Interface JointMotor

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Interface: JointMotor

Defined in: src/engine/physics/types.ts:24

Drives a hinge or slider at targetVelocity (degrees or units per second) with at most force.

Properties

force

force: number;

Defined in: src/engine/physics/types.ts:26


targetVelocity

targetVelocity: number;

Defined in: src/engine/physics/types.ts:25

Clone this wiki locally