I am trying to make rotation using exponential functions, but an error comes up telling me "cannot convert ‘double’ to ‘float’ "
My code:
transform.Rotate (0, 0, Math.Exp( - touch0.position.x - rotationRate));
where touch0.position.x is the horizontal position of where the touch is, and rotationRate is the rotation speed.