Search Unity

[SOLVED] Isometric walking animation blend tree. How?

Discussion in 'Navigation' started by LandHT, Aug 4, 2017.

  1. LandHT

    LandHT

    Joined:
    Feb 3, 2017
    Posts:
    84
    I'm currently working in a isometric game where the environment is 3D and the characters and are 2D.

    Is it possible to adapt unity's navigation to this situation? I know movement is going to be restricted in 8 directions.

    EDIT: For starting i'm testing with 4 directions and still i have not been able to do an animator blend tree that works isometrically.
     
    Last edited: Aug 5, 2017
  2. LandHT

    LandHT

    Joined:
    Feb 3, 2017
    Posts:
    84
    Okey i was mixing up things. As the environment is 3D it is not much of a deal. Just having as reference the X and Z axis you can tell the directions based on the agent velocity.

    So a blend tree with:

    TOP = X :1 Z: 0
    BOTTOM = X: -1 Z: 0
    RIGHT = X 0 Z -1
    LEFT = X 0 Z: 1

    Is going to work for a 4 directional walking animation. For a 8 directional the blend tree will need halfs.
     
    Last edited: Aug 5, 2017