Quantcast
Viewing latest article 18
Browse Latest Browse All 91

Determine if NavMeshAgent is turning

Simple question. How can I tell if the ai character is turning? I have a blended tree animation that blends running with running left or running right (leaning while running). When I control the character, I use the horizontal to SetFloat("Direction", h). I know I can get the velocity but how can I tell if the character is making a turn, and how much of a turn it is?

Viewing latest article 18
Browse Latest Browse All 91

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>