- Home /
Question by
Digital3005 · May 15, 2016 at 01:22 PM ·
rotation2d gamequaternion
Counting a 2D objects flips, full 360 rotation on the Z axis. C#
Im working on a small game, for the past few hours i've been trying to solve this issue but haven't been able to wrap my head around it. Basically what i want is a script that will add up an objects flips, whether they are front flips or backflips. What i've been trying to do is set a number (360), add up an objects rotation every frame and when the object has made a complete 360 rotation it will add one value to flips. I am new to using quaternions and am lost. If you have any questions for me feel free to post below, thanks so much!
Comment