Created Teleport Boundry for it player falls out off the map they respawn
This commit is contained in:
4
Assets/scripts/TeleportBoundry.gd
Normal file
4
Assets/scripts/TeleportBoundry.gd
Normal file
@ -0,0 +1,4 @@
|
||||
extends Area3D
|
||||
|
||||
func _on_body_entered(body):
|
||||
body.respawn()
|
||||
Reference in New Issue
Block a user