iPhone input

Hi, can someone please help me, I’ve got this strange problem when I simulate Unity wireless on my iPhone 4 with the Unity app it runs as expected, but when I compile it to my phone the animation starts without any input, I’ve posted the code below.

//Slowly face towards direction of movement
var lookAt = t.position + movement.y * camForward + movement.x * camRight; //Calculate desired lookAt position
if(!Mathf.Approximately(movement.y, 0) || !Mathf.Approximately(movement.x, 0)) { //If there’s movement
animateCntrl.Walk();
var rot = t.rotation.eulerAngles; //Save current rotation
t.LookAt(lookAt); //Set transform to look at the desired lookAt position
var newYRot = t.rotation.eulerAngles.y; //Save the new y rotation
var smoothYRot = Mathf.SmoothDampAngle(rot.y, newYRot, yVelocity, rotationDamping);
rot.y = smoothYRot;
t.rotation = Quaternion.Euler(rot); //Assign new rotation

}

Forgot to say only the animation starts, he don’t move until I touch the screen.

And animateCntrl is a var to a script holding all my animations.

Think I know it’s something to do with Mathf.Approximately returning incorrect but not sure how to correct it?