radians hurhur

This commit is contained in:
2023-02-03 17:47:04 +01:00
parent 46897a2742
commit 0cb1595539
+1 -1
View File
@@ -20,5 +20,5 @@ func _on_lock_input_event(camera, event, position, normal, shape_idx):
func _on_lever_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton and event.is_action_pressed("interact"):
$Lever.rotation.z = $Lever.rotation.z + 180
$Lever.rotation.z = $Lever.rotation.z + PI
$".."/Light.visible = !$".."/Light.visible