I am hoping someone other there has already solved this problem.
I have a cylinder I need to rotate. I need to calculate the number of total degrees the cylinder has rotated. As an example if the cylinder rotates 2 complete turns I need a value of 720 if it rotates in the opposite direction 2 complete turns I need a value of -720.
Currently it seems the only values I can get from the get object rotation is : World Space 0 to 90 and then -90 to 0… and in local space I can only get values 0 to 180 and -180 to 0.
I am hoping someone has worked out some logic or a method to calculate the total rotation?
Given the cylinder can be rotated in either the postive or negative direction and will be controlled by a user so they may go back and forth quite a bit.
Any help would be greatly appreciated.