I'm having a problem where, when I start my game, my game object (a 3D plane) immediately jumps 300 pixels or so. I suspect this has something to do with my joystick handling code that I've written to move this game object:
xMin1 += Input.GetAxisRaw("LeftRight"); yMin1 += Input.GetAxisRaw("UpDown"); //_targetPlane is my game object _targetPlane.transform.position = new Vector3(xMin1, yMin1, 2.5f);
The object jumps even if I don't touch the joystick. Am I doing this wrong?