Crowd with pathfinging and changing animation by speed
#1
Hello,
I'm a bit of tyFlow noob so sorry for any weirg event graphs Smile I want to create simple zombie crowd with pathfinding operator and I want to change actor animation by speed of the particle, but I have no luck Sad

My simple setup where its just one walking animation works fine.
   

I tried to use property check (velocity magnitude), but I dont know how to connect everything correctly. But in the end it works somehow, except when particles collide due to particle physics and slow down almost to stop velocity change its not reflected in the event and velocity test wont trigger.
   

Thanks for any help.
  Reply
#2
There is a simpler way - the Actor Animation operator has a "multiply speed by velocity" option. This will multiply the playback speed of an animation clip by the velocity of a particle. Just tune the parameters to match your zombie walking speed.
  Reply
#3
Yes I know about this one, but I want to change the animation completely. For example
- if speed is more than 4 units zombie is running
- If speed is less than 4 units zombie is walking
- if speed is 0 zombie is iddle

You cannot do this with multiply by speed because running animation is different than walking and even more different than iddle.
  Reply


Forum Jump: