This is on Mac Yosemite using Unity 4.5.5f1 (patch 3)
I have made a small test game where I move a space ship left and right with the following code (In Update() function)
if(Input.GetAxis(“Horizontal”) < -0.1f)
{
MoveLeft()
}
if(Input.GetAxis(“Horizontal”) > 0.1f)
{
MoveRight();
}
When I press the left cursor key it starts moving, but if I keep the key pressed and release it as the ship has moved a bit or almost all of the way it can move, the ship will keep on moving for half a second after I have let go of the cursor key. It will not stop instantly as I let go of the cursor key. If I play with a joystick it will stop instantly.
It’s seems like the keyboard input is being buffered and the buffer is slowly emptying it self.
Is this a bug or a feature of Unity 4.5.5?? It was not like this in earlier versions of unity.