Barrrettt
Barrrettt

Reputation: 819

Godot. Animations tracks call scripts functions don't work

This is an animationPlayer created from a Blender import. Then I created a function call track and added a key to call a script function. This worked for idle and walk animation but not for attack animation.

My scene enter image description here

My animatorPlayer, walk animtion. this work fine: enter image description here

But this calls dont work: enter image description here

my AnimationTree, only relevant nodes: enter image description here

Thanks in advance.

I need it to function calls to functions anywhere. it is a critical functionality.

Upvotes: 0

Views: 707

Answers (1)

Barrrettt
Barrrettt

Reputation: 819

I found a solution thanks to: https://godotengine.org/qa/52186/call-method-tracks-animation-work-another-animation-player

"In the animation tree on that blend node's bone filter there was a no name track/bone at the top that was filtered out, it is the call method track."

enter image description here

It's hard to see this.

Upvotes: 1

Related Questions