Search Unity

Question How to animate with 3D velocity

Discussion in 'Animation' started by disappointedcreeper, Aug 12, 2022.

  1. disappointedcreeper

    disappointedcreeper

    Joined:
    Oct 23, 2021
    Posts:
    27
    I am trying to make an animation play for each possible velocity I have, but I am using a 3D space, with a 2D sprite, how would I make the sprite play a different animation based on the Z velocity?
     
  2. disappointedcreeper

    disappointedcreeper

    Joined:
    Oct 23, 2021
    Posts:
    27
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,440
  4. disappointedcreeper

    disappointedcreeper

    Joined:
    Oct 23, 2021
    Posts:
    27
    Idk if that will help, I am trying to make a 2D object animate properly in a 3D scene, and I want it to have a different animation for walking forwards/backwards and walking to the left/right.