first commit

This commit is contained in:
Matteo Sonaglioni
2026-03-10 23:54:57 +01:00
commit f7b334b21c
298 changed files with 30899 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
extends PathFollow3D
@export var velocita_treno: float = 5.0
@export var in_movimento: bool = true
func _process(delta: float) -> void:
if in_movimento:
# 'progress' è una variabile nativa di PathFollow3D
# Aumentandola, il nodo si sposta lungo la curva in automatico!
progress += velocita_treno * delta