WIP: Spawn bullets on the server and sync them
This commit is contained in:
@ -17,7 +17,8 @@ func _process(delta: float) -> void:
|
||||
func _on_head_collision_body_part_hit(dam: Variant) -> void:
|
||||
print("head is hit" + str(dam))
|
||||
print(owner_placeholder)
|
||||
owner_placeholder.take_damage(dam)
|
||||
if owner_placeholder.has_method("take_damage"):
|
||||
owner_placeholder.take_damage(dam)
|
||||
pass # Replace with function body.
|
||||
|
||||
func _get_owner() -> CharacterBody3D:
|
||||
|
Reference in New Issue
Block a user