WIP: Spawn bullets on the server and sync them

This commit is contained in:
2025-01-26 21:57:09 +01:00
parent 5678ddb4c1
commit c7c577233b
5 changed files with 9 additions and 8 deletions

View File

@ -26,8 +26,8 @@ func _process(delta):
if collider != null and collider.is_in_group("target"):
ray.get_collider().take_damage()
if collider != null and collider.is_in_group("body"):
print(collider)
ray.get_collider().hit()
print("I got hit")
rigid_body_3d.visible = false
particles.emitting = true
#if ray.get_collider().is_in_group("body"):