godot/scene/main
Pedro J. Estébanez 745c711289 Implement pause-aware picking
This adds a new project setting (`physics/common/enable_pause_aware_picking`). It's disabled by default.

When enabled, it changes the way 2D & 3D physics picking behaves in relation to pause:
- When pause is set, every collision object that is hovered or captured (3D only) is released from that condition, getting the relevant mouse-exit callback., unless its pause mode makes it immune from pause.
- During the pause. picking only considers collision objects immune from pause, sending input events and enter/exit callbacks to them as expected.
- When pause is left, nothing happens. This is a big difference with the classic behavior, which at this point would process all the input events that have been queued against the current state of the 2D/3D world (in other words, checking them against the current position of the objects instead of those at the time of the events).
2021-02-08 20:48:13 +01:00
..
canvas_layer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
canvas_layer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
http_request.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
http_request.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
instance_placeholder.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
instance_placeholder.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node.cpp Merge pull request #39533 from hilfazer/editable-children-bugfixes 2021-01-18 12:31:12 +01:00
node.h Merge pull request #39533 from hilfazer/editable-children-bugfixes 2021-01-18 12:31:12 +01:00
resource_preloader.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_preloader.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_tree.cpp Implement pause-aware picking 2021-02-08 20:48:13 +01:00
scene_tree.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
timer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
timer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
viewport.cpp Implement pause-aware picking 2021-02-08 20:48:13 +01:00
viewport.h Implement pause-aware picking 2021-02-08 20:48:13 +01:00