Not sure why Animation don't work

Not sure why Animation don’t work and crashes the whole thing.
Can somebody explain.
BlendFile

Hello!

The crash was because of a wrong connection in the Node setup:

How it was:
Capture

How it should have been:

Capture1

Furthermore, when connecting the OnKeyboard “Down” output to the animation input, the animation is initiated every time the key is down. 60 times a second that is. So the animation never progresses, instead, it keeps getting initiated.

You could make use of the “Done” output of the “Play Action” node to keep track of if a cycle of animation is played. Until then don’t start the animation again.

Hope this helps.

2 Likes

Thanks Good Soul.
It’s now working.
I Used “Started” so it’s not reseting. <3

2 Likes

Hello, I might be very late to the party but mby there is someone who could answer. I am looking forward to solve this:

You could make use of the “Done” output of the “Play Action” node to keep track of if a cycle of animation is played. Until then don’t start the animation again.

So I can have the animation called “running” played while I hold SHIFT + W and then when SHIFT is released but W still pressed play animation called “walking” and upon release of W play animation “idle”.