Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Discussion Animation algorithms without branching/conditionals

Discussion in 'Animation' started by Unifikation, Jun 7, 2023.

  1. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    1,094
    Anyone know of a good repo of examples of animation algorithms that deliberately avoid branching/conditionals?

    Would like to read/see/learn from, out of curiosity.
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,498
    what kind of animations is that for?
     
  3. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    1,094
    It's not for any kind of animation... it's just that I know animations well, so I'm hoping someone's made a bunch of eases etc with an attempt to be branchless, so I can read examples with an objective I'm familiar with.
     
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,498
  5. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    1,094
    These are all traditional equations for these sorts of things, nothing tricky enough to need conditionals, other than the bounce, which does use them.

    I'm looking to see what it's like to try abstract away from conditionals.