15 lines
345 B
GDScript
15 lines
345 B
GDScript
extends Node
|
|
|
|
# A simple script to rotate the model.
|
|
@onready var anim = $"Root Scene/AnimationPlayer"
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
anim.play("walk")
|
|
pass # Replace with function body.
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
pass
|