- Home /
Question by
DLilliequist · Nov 09, 2016 at 08:28 AM ·
rotationrigidbody2deulerangles
Help with executing method when object has rotated 360 degrees
Hey ya'll!
Iv'e been stuck with this for a while and need some input on how to solve my problem!
I have a dial that is interactable and attached to another gameobject which the user will rotate around. My issue is that I have managed to determine the dial's rotation, but my issue is that is has to be exactly on the value 360/0 in order to execute my method. Iv'e tried doing a condition where I determine the dials angle % 360, but still encounter the same problem.
is there any way that you can determine a full rotation has been made without the need of exact values?
Super thanks in advance!
Comment