Added Direction arrow to spawn for orienting the player after spawn and made it hide if DEVMODE is false

This commit is contained in:
2024-09-08 19:41:24 -05:00
parent cce9966214
commit 39abcffb48
6 changed files with 50 additions and 5 deletions

View File

@ -3,5 +3,8 @@ extends Node3D
# Called when the node enters the scene tree for the first time.
func _ready():
GlobalSettings.SetSpawnPoint(self.global_position)
GlobalSettings.SetSpawnPoint(self.global_position, self.global_rotation)
GlobalSettings.Se
get_tree().call_group("Player", "respawn")
if not GlobalSettings.DEVMODE:
$Sprite3D.hide()