From 77570b7d648e9782342ed664f8d41dcf18021f36 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Wed, 12 Jun 2024 12:21:33 +0200 Subject: [PATCH] hide hands on controllers --- app/content/system/controller_left/controller_left.gd | 2 +- app/content/system/controller_right/controller_right.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/content/system/controller_left/controller_left.gd b/app/content/system/controller_left/controller_left.gd index f6b336e..72fd8db 100644 --- a/app/content/system/controller_left/controller_left.gd +++ b/app/content/system/controller_left/controller_left.gd @@ -128,7 +128,7 @@ func _setup_hand(): hand_active=active&&_is_hand_simulated() == false $IndexTip/TouchArea/CollisionShape3D.disabled=!hand_active - hand_mesh.visible=active + hand_mesh.visible=hand_active ) mini_view_button.on_button_up.connect(func(): diff --git a/app/content/system/controller_right/controller_right.gd b/app/content/system/controller_right/controller_right.gd index 848ab18..bcb18cb 100644 --- a/app/content/system/controller_right/controller_right.gd +++ b/app/content/system/controller_right/controller_right.gd @@ -59,7 +59,7 @@ func _setup_hand(): hand_active=active&&_is_hand_simulated() == false $IndexTip/TouchArea/CollisionShape3D.disabled=!hand_active - hand_mesh.visible=active + hand_mesh.visible=hand_active ) func _physics_process(_delta):