ScriptReference/MonoBehaviour.FixedUpdate #144
Replies: 3 comments
-
Do not poll instantaneous input functions in |
Beta Was this translation helpful? Give feedback.
-
See Important Classes - Time's Fixed Timestep for another detailed writeup with diagrams and graphs on how fixed update works. |
Beta Was this translation helpful? Give feedback.
-
But there are specific cases where you may want to run some code after the physics update. You can fake a “LateFixedUpdate” by writing Be aware that this trick, while useful in some very specific cases (such as handling moving platforms on the fixed loop), can potentially cause some serious issues if you try to query the physics engine at this time. Double-check the full list of internal functions on the execution order to make sure you're not doing anything wrong. Always update your |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/MonoBehaviour.FixedUpdate
https://docs.unity3d.com/ScriptReference/MonoBehaviour.FixedUpdate.html
Beta Was this translation helpful? Give feedback.
All reactions