Quantcast
Channel: Answers for "2D Character Flip"
Viewing all articles
Browse latest Browse all 4

Answer by Jesse Anders

$
0
0

Try removing this line:

moveDirection = transform.TransformDirection(moveDirection); 

And see what happens. (If 'moveDirection' is already in world space, there shouldn't be any need to transform it. I don't see anything in your code that specifies what space moveDirection is in, but I'm guessing it's world space.)


Viewing all articles
Browse latest Browse all 4

Trending Articles



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