betere collision shapes, wat cleanup

This commit is contained in:
2023-02-02 16:59:05 +01:00
parent 7c5e3b9958
commit 8e6b0784e5
9 changed files with 46 additions and 32 deletions
-1
View File
@@ -28,7 +28,6 @@ func _physics_process(delta):
velocity.z = direction.z * WALK_SPEED
move_and_slide()
func _on_flash_light_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton and event.is_action_pressed("interact"):
$Pivot/Camera/FlashLight.visible = true