Quick Question...Can you control the animation Speed?
synthesis
Member Posts: 1,693
Is there a way to dynamically adjust the animation speed/rate of an Animate Behavior based on a custom condition...similar to a speed control in a Change Velocity behavior?
Thanks in advance.
Thanks in advance.
Comments
e.g. Attributes - Normal speed and Fast
When conditions are met set normal or fast to true
On actor
All
If normal = true and fast = false
Animate @ 10 fps
All
If normal = fasle and fast = true
Animate @ 20 fps
Thats the only way i can think of having any control over it
That's what I thought....I was hoping there was a way to actually influence the fps value dynamically...such as setting it equal to half the actor's velocity.
Otherwise I guess you could set up several differently sped animation rules and have it select the closest one based upon your actor velocity? Kind of a limited cheat but it might get you part way.
I guess that's similar to what Beefy said but Beefy's might be more practical.
That's what I'm doing...
I set a random "actorAggression" value.
Then set the actor's speed attribute to a multiple of that value.
Then I set up a rule sequence to assign a different animations (different FPS speeds that is...same animation image sequence) to the different ranges of actor speeds. I'm using about 5 different animation sets.
This allows the animation to "walk/run" at different rates depending on the speed of the actor moving across the screen. Hopefully it will make it look a little more realistic and less like they are "ice skating" at the higher speeds.
Great development animation-wise too!