feat: implement weapon framework, hitscan logic, and player movement controller with state management

This commit is contained in:
DottsGit
2026-06-05 00:25:41 -04:00
parent ea96b41287
commit da16a3a757
11 changed files with 104 additions and 7 deletions
+1
View File
@@ -100,6 +100,7 @@ func _spawn_custom_projectile(origin: Vector3, fire_dir: Vector3) -> void:
proj.max_range = max_range
proj.drop_gravity = projectile_gravity
proj.owner_player = player
proj.impact_type = "plasma"
# Spawn in the world
get_tree().current_scene.add_child(proj)