1681-engine / index / combineSteering
Function: combineSteering() ​
ts
function combineSteering(maxForce, ...weighted): SteerVec;Defined in: src/nav/steering.ts:150
Weighs steering forces, sums them and caps the sum at maxForce (px/s of change a step).
Parameters ​
| Parameter | Type |
|---|---|
maxForce | number |
...weighted | [SteerVec, number][] |