Proper action indication

This commit is contained in:
Segey Lapin
2019-07-22 03:30:03 +03:00
parent 225dcb805f
commit 69cd38082e
2 changed files with 47 additions and 8 deletions

View File

@@ -11,6 +11,11 @@ const GRAVITY = Vector3(0, -9.8, 0)
func _ready():
orientation = Transform()
skel = get_children()[0]
add_to_group("characters")
add_to_group("activatable")
func get_act():
return "Talk"
func idle():
var sm: AnimationNodeStateMachinePlayback = $AnimationTree["parameters/base/playback"]