im making my own custom Character Motor and i tried using this:
if (Input.GetAxis("Vertical") > 0.01f) { p_Motor.MoveForward(); }
if (Input.GetAxis("Vertical") < -0.01f) { p_Motor.MoveBack(); }
if (Input.GetAxis("Horizontal") > 0.01f) { p_Motor.MoveRight(); }
if (Input.GetAxis("Horizontal") < -0.01f) { p_Motor.MoveLeft(); }
But my character can only go forward and right, Not Back and Left. any help would be appreciated.
Malarkey
DaveA
2
Try a smaller threshold, like 0, see if that works.