FantasyRun/Tiles/Tile.gd

18 lines
284 B
GDScript3
Raw Normal View History

2024-09-30 20:50:05 -07:00
extends Node3D
class_name Tile
@onready var path = $MainPath as Path3D
@onready var follow = $MainPath/Follow as PathFollow3D
var length: float:
get:
return path.curve.get_baked_length() as float
func _ready():
pass # Replace with function body.
func _process(delta):
pass