Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to determine direction relative to actor as a float

$
0
0
Maybe this should be in Scripting... but anyway, ref this thread:
http://forum.unity3d.com/threads/determine-the-direction-for-mecanim.236786/

Use case would be dual thumbsticks, so you expect to instantly turn in any direction while maintaining motion in some other direction but I can't figure out how to calc the movement direction against the facing direction and turn that into a float for Mecanim to process the direction in a blend tree.

Normally I just use direct inputs for...

How to determine direction relative to actor as a float

Viewing all articles
Browse latest Browse all 1466670


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