mtd/Scripts/path_visual_thing.gd

17 lines
325 B
GDScript3
Raw Normal View History

extends PathFollow3D
@export var speed = 0.5
@export var world_model : Node3D
@export var minimap_model : Node3D
func _process(delta: float) -> void:
progress += speed * delta
func set_world_visible(value: bool):
world_model.set_visible(value)
func set_minimap_visible(value: bool):
minimap_model.set_visible(value)