Search Unity

How do I make a sprite face the ground while moving?

Discussion in '2D' started by Doan Ky, May 5, 2015.

  1. Doan Ky

    Doan Ky

    Joined:
    May 3, 2015
    Posts:
    1
    I'm in 2D mode. I got a GameObject named "myAnimal", it automatically moves and there're some obstructions in the road.

    How can i make it move above (slide on) obstructions( the surface of a little hill or a stone ...) ?
     
  2. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    a collider might help.
    Check it out in the learn tab if you need additional help.