Hello I’m using this code to move my object back a bit every frame
myObject.transform.localPosition -= new Vector3 (0,0,ammountToTakeOff);
I rotate “myObject” on the Y 90 degrees when I press D and -90 degrees when I press A.
But when I rotate my object It moves backwards on the world Z axis, I want it to move backwards on it’s Local Z axis. Thanks