What it does
fixedUpdate is a lifecycle function: you write it in your script and the engine calls it. The engine calls it: fixed physics tick. It receives dt.
The API says: fixed physics tick
Signature
fixedUpdate(dt)Arguments
dt
Example · generated
function fixedUpdate(dt) { physics.applyImpulse({ x: 0, y: 1, z: 0 });}fixedUpdate is not called, it is written. The engine calls it: fixed physics tick. The body shown here is an example of what goes in it.