WIP: Spawn bullets on the server and sync them
This commit is contained in:
@ -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"):
|
||||
|
Reference in New Issue
Block a user