FPS Controller

This commit is contained in:
2025-11-13 08:05:46 -05:00
parent c6e4d4f725
commit 14000f0096
177 changed files with 6311 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
extends RayCast3D
var current_object
func _process(delta: float) -> void:
if is_colliding():
var object = get_collider()
if object == current_object:
return
else:
current_object = object
else:
current_object = null