Quantcast
Channel: Answers by "CallToAdventure"
Viewing latest article 11
Browse Latest Browse All 48

Answer by CallToAdventure

$
0
0
Changed this line in both functions: float rotationAngle = Mathf.Rad2Deg * Mathf.Atan2(currentAcc.y, currentAcc.x); with float rotationAngle = Mathf.Rad2Deg * Mathf.Atan2(currentAcc.y, Mathf.Abs(currentAcc.x));

Viewing latest article 11
Browse Latest Browse All 48

Latest Images

Trending Articles

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