I am trying to make a basic driving game, like OutRun. Even though my idea takes place in a 3D world, I so far have a really long road to drive down. The car is a sprite, and so will everything else be. I have made it move forward, it takes some time to accelerate and when releasing the forward key, it slows to a stop. In the Character Movement values I used Max Acceleration and Braking Friction Factor to do this. No nodes yet other than input controls for forwards, left and right.
Now this is where I get confused. I am trying to prevent the player from being able to move the object left and right when it is stationary. I only want sideways movement while you are moving forwards. I really can’t figure this out and Google isn’t helping. I have tried using disable and enable inputs, I have tried telling it to detect when a key is pressed to reenable the controls but most of the time it has no effect, I can still go left and right while sitting still. Or I end up losing control totally and can’t even go forwards.