- Home /
GameObject stutters when moving if refresh rate is not set to 60hz.
Okay, so I have a GameObject with a RigidBody 2D component attached. I move this GameObject using 'Rigidbody.MovePosition' - this is placed within FixedUpdate. The Object moves smoothly when my monitor's refresh rate is set to no more than 60hz.
If my monitor's refresh rate is set to a higher refresh rate i.e. 144hz - the GameObject looks to frequently stutter when moving.
Is there anything I can do to remedy this problem? Surely the user isn't limited to just a 60hz refresh rate?
Thanks.
Try using Update or LateUpdate ins$$anonymous$$d of FixedUpdate.
What's your fixed timestep, and what interpolation are you using on the rigidbody?
$$anonymous$$y Fixed Timestep is set to 0.02, and the interpolation is set to Interpolate.
Answer by Darius0995 · Jul 05, 2017 at 04:25 PM
Wow.. so the problem seems to have fixed itself. A reset of Unity wasn't required, but a reset of my system as a whole was needed. So it would seem that it must have been an internal hardware/software issue, i did recently do an update for an Nvidia driver...
Sorry for the waste of time, thanks to those who responded.
Your answer
Follow this Question
Related Questions
How to set GameObject's component to an instance of an object 0 Answers
How do I make a game object spawn and then stay and move up when mouse is cilcked? 1 Answer
GetComponent of ALL clones? 2 Answers
Deactivate an object - and all scripts in that object deactivated? 1 Answer
Find all gameObjects with same tag 1 Answer