- Home /
              This question was 
             closed Oct 03, 2021 at 10:17 AM by 
             GreenPlanetGames for the following reason: 
             
 
            answered
Is there a way to tell which way an enemy is going?
Hi Everyone, Little question I have an Enemy in my game (3D) and I want to know if there is a way to tell which direction it is facing so i can trigger different animations? Thank You so Much; AnimalDude77
               Comment
              
 
               
              Answer by SamyBoyJim · Oct 03, 2021 at 05:17 AM
You can access the enemy's transform.forward which is it's local blue axis. You can access it with enemy.transform.forward and this will give you a vector 3.
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                