Hi,
Ill explain my math issue.
input.acceleration.x returns a value of -1 : 1
I have a speed rate of 4, if I multiply acceleration.x by speed at its maximum the speed is 4.
Now what I have done is clamped the returned acceleration using acceler.x = Mathf.Clamp (acceler.x, -0.3f, 0.3f);
this effectively creates a deadzone but I still want speed to equal 4 at the clamped maximum, now I’m sure its simple but I’m having a real brain ache with this.
Please help,
Thanks