waited far too long for an initial commit but here we are
This commit is contained in:
16
Scripts/path_visual_thing.gd
Normal file
16
Scripts/path_visual_thing.gd
Normal file
@ -0,0 +1,16 @@
|
||||
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)
|
Reference in New Issue
Block a user