fixedupdate versus update for input
Use FixedUpdate when applying input directly to physics bodies, while transform movements and general game logic belong in Update.
- FixedUpdate provides a stable update rate independent of framerate to prevent physics simulations from becoming unstable
- Modifying physics properties like Rigidbody velocity should happen in FixedUpdate right before physics steps
- Direct transform movements through input are better suited for Update rather than physics steps
- Unity defaults physics timesteps to 1/50, but changing it to 1/60 aligns better with 60 FPS targets
- With the new Input System, inputs are processed early enough to be readily available inside FixedUpdate


