virtualx-engine/scene
Markus Sauermann 543fdc1490 Fix passive mouse hovering for physics
Currently mouse hovering doesn't update the state, when collision objects
or the camera move.
This PR fixes this problem by taking the mouse position from the viewport
and not from a nonexistent previous event.

Since previous events could potentially be a long time ago, their
modifier-key state might be outdated. This PR fetches the current
status of modifier-keys from `Input`.

These changes allow the removal of some class-variables and making
additional simplifications.
2023-06-09 12:51:10 +02:00
..
2d Internally rename parent to collision_object in CollisionShape(2D/3D) 2023-06-07 12:02:27 -05:00
3d Internally rename parent to collision_object in CollisionShape(2D/3D) 2023-06-07 12:02:27 -05:00
animation Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
audio Merge pull request #70515 from stmSi/fix-hanging-audio-pitch-scale 2023-02-17 14:06:55 +01:00
debugger Refresh filesystem when saving remote branch 2023-03-24 19:38:08 +01:00
gui Merge pull request #75746 from ajreckof/order_autocomplete 2023-06-08 18:14:31 +02:00
main Fix passive mouse hovering for physics 2023-06-09 12:51:10 +02:00
resources Fix parameters passing to add_triangle_fan method. 2023-06-08 17:45:26 +02:00
theme Merge pull request #68429 from KoBeWi/PropertySettings 2023-01-06 22:59:29 +01:00
property_utils.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
property_utils.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_scene_types.cpp Don't disable Material and PlaceholderMaterial when disable_3d=yes 2023-05-30 11:44:21 +02:00
register_scene_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_string_names.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_string_names.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub