I have a character controller that I update from a singleton manager on the main thread.
The manager passes down the Time.deltaTime
to all the child characters just to make sure they are all attempting to move based on the same time on the frame.
When I build a client, this deltaTime is ~0.0025f
. When in the editor, this value is ~0.015f
If I hold the title bar of the window and drag it, this deltatime is closer to 0.015
and movement looks right. If I don’t, the delta time is smaller.
With the deltaTime being ~1/10 of the editor’s delta time, my character is moving super slowly as it multiplies speed * deltaTime
for movement.
Has anyone experienced this or know of a good solve?