HI guys,
I’m making a 2D game where my characters z rotation is determined by the slider. I’ve thought and thought about it but I cant figure it out. The slider.value range is:
0 (lowest) - .5 (Middle) - 1 (Top)
I basically want the middle (.5) to correspond to Rotation (0,0,0) so my object is looking forward when the slider is in the middle. Any values from .5-1 should make it rotate up x amount in z, and .5-0 should make it rotate down x amount in z.
Any ideas on how I could achieve this?
Thanks