Skip to main content
Discovery icon for Official Unity Discord Discord server

Official Unity Discord

32,909 Online
140,022 Members
# πŸ’»β”ƒunity-talk3 people

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
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App