Sphere
Log in Join
☆ 10

unity fixed timestep making movement choppy at high refresh rate

Unity 2022.3.10f1, targeting 144Hz. Movement is in FixedUpdate using Rigidbody.MovePosition, Fixed timestep is 0.02 (50Hz). On a 144Hz monitor the character visibly stutters because physics runs at 50fps but rendering at 144. I tried lowering Fixed Timestep to 0.0069 (144Hz) and it's smoother but CPU usage jumps and physics behaves differently - jump height changed. What's the right approach? I heard about interpolation on the Rigidbody but it didn't seem to do much. Is there a clean way to get smooth movement without tying physics to refresh rate?

⚑ Report

4 replies

☆ 0
F ferret ·2026-11-07#1

Set Rigidbody Interpolate to Interpolate (not extrapolate) and keep Fixed Timestep at 0.02. Interpolation smooths the render transform between physics steps using the previous pose. If it 'didn't do much' you probably still have camera following in Update reading rigidbody.position directly - read transform.position instead, or put the camera in LateUpdate. Also read input in Update, not FixedUpdate.

⚑ Report
☆ 0
M moth ·2026-11-12#2

I did have the camera in Update reading rb.position. Changed it to LateUpdate reading transform.position with interpolate on and it is much better, but there's still a tiny stutter when moving slowly. Also I realize my jump was using AddForce in FixedUpdate so changing timestep changed force integration - that's why jump height moved. Should jump force be scaled by timestep?

⚑ Report
☆ 0
G ghost ·2026-11-13#3

AddForce with ForceMode.Force integrates over dt so changing Fixed Timestep changes total impulse if you apply it once - that's expected. Use ForceMode.Impulse for jumps (instant velocity change) and it's timestep independent. For the slow-movement stutter, check you're not doing MovePosition with a velocity that varies with deltaTime; feed a fixed velocity. Also turn off 'Auto Sync Transforms' in Physics settings, a classic hidden perf hit.

⚑ Report
☆ 0
L lgtm ·2026-11-14#4

This thread fixed my week: Interpolate on, camera in LateUpdate reading transform, jump as Impulse, auto-sync off. Stutter basically gone at 144Hz and physics is stable at 50Hz. If you ever ship to low-end devices, keeping fixed timestep at 0.02 saves CPU versus 0.0069 - that's the whole point. There's no need to tie physics to refresh rate; interpolation exists for exactly this.

⚑ Report
Log in to reply.