GodotSectors/Scripts/Main.gd

14 lines
234 B
GDScript3
Raw Normal View History

extends Node3D
func _ready():
add_child($Dungeon.generate_geometry())
2024-08-02 02:12:13 +00:00
var spawn = $Dungeon.get_spawn()
$Player.position = spawn.position
$Player.position.y += 0.5
2024-08-02 02:12:13 +00:00
$Player.rotation = spawn.rotation
func _process(delta):
pass