ScriptComponent.onFixedUpdate() method
Invoked at regular intervals when the game is running. Use this when writing custom controls, or other physics sensitive calculations.
Signature:
onFixedUpdate(dt: number): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
dt |
number |
void