Skip to content

Commit

Permalink
hide hands on controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitwel committed Jun 12, 2024
1 parent f533b8a commit 77570b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/content/system/controller_left/controller_left.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion app/content/system/controller_right/controller_right.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 77570b7

Please sign in to comment.