godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.14k stars 19.95k forks source link

3d freelook. on low acceleration speed freelook doesn't update viewport, unless you constatnly rotate camera. #87641

Open soundsbeard opened 6 months ago

soundsbeard commented 6 months ago

Tested versions

System information

Godot v4.2.1.stable - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Thu Dec 21 16:21:45 UTC 2023 - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (RADV NAVI22) () - AMD Ryzen 5 2600 Six-Core Processor (12 Threads)

Issue description

3d freelook. when zoom is set to 1000, with low acceleration speed freelook doesn't update viewport, unless you constantly rotate camera.

when zoom is set to 1000m, and your freelook acceleration speed is at minimum, you may try pressing 'w' or 's' , but you won't be moving. when you release key - you jump to the point, where you supposed to move.
but, if you you constantly rotate camera, while moving - viewport will update each frame.

https://github.com/godotengine/godot/assets/16347074/e32e7371-25d4-4098-9055-f7cf5c20f10c

reproducible in any new project.

Steps to reproduce

  1. in 3d, set zoom to 1000m with your mouse wheel image
  2. fly to your mesh in freelook mode with rmb + wasd
  3. set minimal acceleration speed in freelook with rmb + mouse wheel image
  4. hold 'w' or 's' (do not move your mouse) to see that you are not moving.
  5. start constantly rotating you camera, and press 'w' or 's' to see viewport is updating while moving.

Minimal reproduction project (MRP)

N/A

Calinou commented 6 months ago

Can you reproduce this with Interface > Editor > Update Continuously enabled in the Editor Settings?

soundsbeard commented 6 months ago

Can you reproduce this with Interface > Editor > Update Continuously enabled in the Editor Settings?

yup

https://github.com/godotengine/godot/assets/16347074/bcdca16e-a133-421d-b8f4-44892c5d98ea

soundsbeard commented 6 months ago

it seems i was wrong saying, that 'viewport is not updating' here is the video of another godot user, clearly shaders are being updated:

https://github.com/godotengine/godot/assets/16347074/85e7c759-af72-4457-90ee-90332eda1d29

i also have confirmation of this bug from nvidia rtx2080 user