function dampingTorque
rigidBody.ts:217
Rotational damping, the "flight assist" every 6-DoF game needs.
Applied as an acceleration bounded by the available torque rather than as a velocity multiplier: a multiplier is frame-rate-shaped even at a fixed step, and it makes the ship's handling depend on the tick rate.
- angularVelocityVec3
- Undocumented
- profileThrusterProfile
- Undocumented
- dtnumber
- Undocumented
ReturnsVec3