From 75178ba217c1cf4e0b326d918a8422066b016150 Mon Sep 17 00:00:00 2001 From: Malcolm Nixon Date: Mon, 21 Aug 2023 20:28:24 -0400 Subject: [PATCH] Added process_physics_priority settings for Godot 4.1+ (#510) --- .../hands/scenes/collision/collision_hand_left.tscn | 1 + .../hands/scenes/collision/collision_hand_right.tscn | 1 + addons/godot-xr-tools/player/player_body.tscn | 1 + 3 files changed, 3 insertions(+) diff --git a/addons/godot-xr-tools/hands/scenes/collision/collision_hand_left.tscn b/addons/godot-xr-tools/hands/scenes/collision/collision_hand_left.tscn index 1fc5521e..0cb1065a 100644 --- a/addons/godot-xr-tools/hands/scenes/collision/collision_hand_left.tscn +++ b/addons/godot-xr-tools/hands/scenes/collision/collision_hand_left.tscn @@ -7,6 +7,7 @@ size = Vector3(0.045, 0.075, 0.1) [node name="CollisionHandLeft" type="StaticBody3D"] process_priority = -90 +process_physics_priority = -90 collision_layer = 131072 collision_mask = 327711 script = ExtResource("1_t5acd") diff --git a/addons/godot-xr-tools/hands/scenes/collision/collision_hand_right.tscn b/addons/godot-xr-tools/hands/scenes/collision/collision_hand_right.tscn index ec623eae..e6a3b603 100644 --- a/addons/godot-xr-tools/hands/scenes/collision/collision_hand_right.tscn +++ b/addons/godot-xr-tools/hands/scenes/collision/collision_hand_right.tscn @@ -7,6 +7,7 @@ size = Vector3(0.045, 0.075, 0.1) [node name="CollisionHandRight" type="StaticBody3D"] process_priority = -90 +process_physics_priority = -90 collision_layer = 131072 collision_mask = 327711 script = ExtResource("1_so3hf") diff --git a/addons/godot-xr-tools/player/player_body.tscn b/addons/godot-xr-tools/player/player_body.tscn index bdce6204..dbddb9da 100644 --- a/addons/godot-xr-tools/player/player_body.tscn +++ b/addons/godot-xr-tools/player/player_body.tscn @@ -4,6 +4,7 @@ [node name="PlayerBody" type="CharacterBody3D" groups=["player_body"]] process_priority = -100 +process_physics_priority = -100 top_level = true collision_layer = 524288 collision_mask = 1023