Hi, Is there a function that when invoked, like OnMouseUp, records the mouse drag angle in screen space in radians or degrees?
t
Hi, Is there a function that when invoked, like OnMouseUp, records the mouse drag angle in screen space in radians or degrees?
t
No, but you can try and use these functions:
Event.delta (To use in OnGUI)
niceMouseDelta (To use in an editor script…)
with conjuncture with Vector3.Angle()
(Just use 0 as the 3rd parameter)
Thats it!!!
thanks cyb3rmaniak