knack
August 25, 2014, 6:26pm
1
I have a simple NPC character
The animation bp state machine its simple
Entry->Idle->Walk
The transition within Idle-> Walk its using Speed > 0.0
The Speed value:
Try Get Pawn Oner->Get Velocity->Vector Lenght->Set Speed
Sometimes (random) in “Simulate” and “New Windows” the character entry in the walk animation without move/speed.
launch In standalone always occurs.
I use CompareFloat and print string for print if Speed its greater than 0.
And i got one value always when i hit play.
seems 0, 0 , 0 then 7.* (random 6,4,3) and then 0, 0 … .
Excuse my english
Hello, knack.
Are you still having trouble with this?
knack
September 2, 2014, 4:40pm
3
the possible bug still there,
idle----(speed>0)---->walk
character go to the animation walk on begin.
but i haven’t problem now. if i connect back
walk—>(speed<0)—>idle
there is not problem. strange.
idle->(Speed>0)->walk->(Speed=0)->idle (ok)
idle->(Speed>0)->walk (bug)
I’m glad to hear you found out how to work around the issue.
Can you take a screenshot of the ‘bug’ version of the state machine so I can reproduce it?
Hi knack,
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.
Thank you.