Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. 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,026
    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:
    8,954
    what kind of animations is that for?
     
  3. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    1,026
    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:
    8,954
  5. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    1,026
    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.