Quantcast
Channel: Answers for "2D Character Flip"
Browsing all 4 articles
Browse latest View live

Answer by Jesse Anders

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...

View Article


Answer by Fubiou

Hey, I found a simple way to flip the 2d character with a simple line: transform.localEulerAngles = transform.eulerAngles + Vector3(0,180,-2*transform.eulerAngles.z);

View Article


Answer by Jesse Anders

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...

View Article

Answer by Fubiou

Hey, I found a simple way to flip the 2d character with a simple line: transform.localEulerAngles = transform.eulerAngles + Vector3(0,180,-2*transform.eulerAngles.z);

View Article
Browsing all 4 articles
Browse latest View live


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