Add a world model and refactor the controller

This commit is contained in:
2025-01-25 09:03:06 +01:00
parent 51842836ce
commit 1f1f2918c9
14 changed files with 1451 additions and 65 deletions

View File

@ -13,7 +13,8 @@ func _ready() -> void:
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
position += transform.basis * Vector3(0, 0, SPEED) * delta
print("bullet:")
position += transform.basis * Vector3(0, 0, SPEED) * delta
ray.collision_mask = 1
ray.enabled = 1
if ray.is_colliding():