Skip to main content

ThrusterBehaviorOptions

@zylem/game-lib


@zylem/game-lib / behavior / ThrusterBehaviorOptions

Interface: ThrusterBehaviorOptions

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/thruster.d.ts:72

Thruster behavior options (typed for entity.use() autocomplete)

Properties​

angularThrust​

angularThrust: number

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/thruster.d.ts:76

Rotation torque (default: 5)


linearDamping?​

optional linearDamping?: number

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/thruster.d.ts:78

Optional linear damping override


linearThrust​

linearThrust: number

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/thruster.d.ts:74

Forward thrust force (default: 10)