10 lines
216 B
GDScript3
10 lines
216 B
GDScript3
|
extends Node3D
|
||
|
|
||
|
@onready var animation_state: AnimationNodeStateMachinePlayback = $AnimationTree.get("parameters/playback")
|
||
|
|
||
|
func walk():
|
||
|
animation_state.travel("Walk")
|
||
|
|
||
|
func idle():
|
||
|
animation_state.travel("Idle")
|