Created Final level for setting up the final game's play Level button
This commit is contained in:
6
Assets/scripts/teleport.gd
Normal file
6
Assets/scripts/teleport.gd
Normal file
@ -0,0 +1,6 @@
|
||||
extends Area3D
|
||||
|
||||
@onready var TeleportTo = get_tree().get_first_node_in_group("TeleportLocation").global_position
|
||||
|
||||
func _on_body_entered(body:Node3D):
|
||||
body.position = TeleportTo
|
||||
Reference in New Issue
Block a user