virtualx-engine/scene
Fabio Alessandrelli ddee5f6050 Add peer visibility to MultiplayerSynchronizer.
MultiplayerSynchronizers can now be configured to limit their visibility
to a subset of the connected peers, if the synchronized node was spawned
by a MultiplayerSpawner (either automatically or via custom spawn) the
given node will also be despawned remotely.

The replication system doesn't have the logic to handle subspawn
directly, but it is possible to handle them appropriately by manually
updating the visibility of the parent before changing the one of the
nested spawns via the "update_visibility" function.

The visibility of each MultiplayerSynchronizer can be controlled by
adding or remove filters via "[add|remove]_visibility_filter(callable)".

To further optimize the network code, visibility filters can be configured
to be automatically updated during idle or physics frame, or set to always
require manual update (via the "update_visibility" function).
2022-07-20 19:08:35 +02:00
..
2d Merge pull request #61590 from Haydoggo/path-follow-fix 2022-07-18 09:36:02 +02:00
3d Use integer types in Image and ImageTexture methods 2022-07-18 19:43:32 -05:00
animation refactor sync in AnimationTree 2022-07-16 21:45:32 +09:00
audio Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
debugger Remake resource thread safety and API 2022-06-22 13:46:46 +02:00
gui Merge pull request #62139 from bruvzg/label_font_setttings 2022-07-19 20:16:01 +02:00
main Rename Control PRESET_WIDE to PRESET_FULL_RECT 2022-07-18 20:08:11 -05:00
multiplayer Add peer visibility to MultiplayerSynchronizer. 2022-07-20 19:08:35 +02:00
resources Merge pull request #62139 from bruvzg/label_font_setttings 2022-07-19 20:16:01 +02:00
property_utils.cpp Cleanup and move char functions to the char_utils.h header. 2022-02-04 11:35:01 +02:00
property_utils.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_scene_types.cpp Merge pull request #62139 from bruvzg/label_font_setttings 2022-07-19 20:16:01 +02:00
register_scene_types.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
scene_string_names.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
scene_string_names.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub [Net] New replication interface, spawner and synchronizer nodes. 2022-02-04 14:56:30 +01:00