feat: implement weapon framework, hitscan logic, and player movement controller with state management
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user