This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
liblast/LevelComponents/SpawnPoint.gd

7 lines
205 B
GDScript

extends Spatial
# Move the player to the starting location.
func spawn(player: Player):
# Set the player's position and rotation to our position and rotation.
player.global_transform = global_transform