Welcome, Guest
Username: Password: Remember me

TOPIC: Adding randomness

Adding randomness 1 year 2 weeks ago #1883

I've been able to setup an animation so that letters animate into position sequentially with a delay, but is it possible to randomly select which letters animate so that it's out of order?

Is it possible to adjust animations on the fly via code?
The administrator has disabled public write access.

Adding randomness 1 year 1 week ago #1885

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 897
  • Thank you received: 193
  • Karma: 57
Hi
I've been able to setup an animation so that letters animate into position sequentially with a delay, but is it possible to randomly select which letters animate so that it's out of order?

Each sequence can have random values (position, scale, etc), but there is no setting for random starting, just sequential with customizable ease curve.
With the feedbacks I have gathered about the Animation system, I'm about to tweak it to make it easier to work with, so while I do that I will make sure to add a Random setting for the ease curve as well.

Don't hesitate in letting me know If you find anything else missing or have a suggestion on how to make it easier for you!
Is it possible to adjust animations on the fly via code?

yes, you have full access to every parameter.

Basically, you can do play and modify values this way:
            var se = GetComponent<SmartEdge>();

            se.StopAllAnimations();
            var anim = se.PlayAnim("Pulse");

            var sequence = anim._Sequences[0] as SE_AnimSequenceType_Position;
            sequence._To = new Vector3(10,0,0);

Hope that helps
Frank
Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out
Last Edit: 1 year 1 week ago by Frank.
The administrator has disabled public write access.
Time to create page: 0.104 seconds
Colors