Jump to content

Editor movement speed is not scaled by frame time


Go to solution Solved by Josh,

Recommended Posts

Posted

Yeah, I need to change the timing code for this.

My job is to make tools you love, with the features you want, and performance you can't live without.

  • 1 month later...
Posted

Fixed. VSync will always be enabled when moving with the arrow keys, although it won't be for some other things. The display frequency will be used to modulate the movement speed. The VSync option in the editor will go away, since it is tuned more finely now.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

This is the formula:

camera->Move(0, 0, 0.1f * 60.0f / editor->mainwindow->display->frequency);

If frequency is 240, that should slow the camera down.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted
Just now, Dreikblack said:

And in first place camera speed should not depends on screen frequency or fps at all

It should, because if the screen refresh rate is the only thing that limits the CPU speed.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

A few builds ago, on a 240 hz monitor, it would have been four times faster than a 60 hz monitor.

It feels a little sluggish right now to me. I am going to try doubling it, and call that the correct speed.

My job is to make tools you love, with the features you want, and performance you can't live without.

  • Solution
Posted

It's updated now. Please give it a try. Should be consistent across different display refresh rates.

My job is to make tools you love, with the features you want, and performance you can't live without.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...