Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Car moving backwards in racing game

Discussion in 'Physics' started by vincenzopanepinto08, Jun 13, 2023.

  1. vincenzopanepinto08

    vincenzopanepinto08

    Joined:
    May 8, 2022
    Posts:
    2
    So I'm trying to make a racing game by following this tutorial
    .
    Everything works fine, except one thing: when I start the game, the car goes backwards, and not forward.
    Does someone know why this happens?
     
  2. luskos

    luskos

    Joined:
    Mar 4, 2013
    Posts:
    48
    Probably you should reverse the vector force applied or rotate your object in a 3d software to meet your game, as sometimes this could be the trouble.
     
  3. driftnumata

    driftnumata

    Joined:
    May 31, 2023
    Posts:
    29
    Is car goes backwards whe your UpArrow or W key?
     
  4. vincenzopanepinto08

    vincenzopanepinto08

    Joined:
    May 8, 2022
    Posts:
    2
    UpArrow
     
  5. driftnumata

    driftnumata

    Joined:
    May 31, 2023
    Posts:
    29
    How is it to press DownArrowKey? If the car goes forward when you press DownArrowKey. You need to reverse vertical input. If not that bug, can you record your project's bug and con you show me a video? Maybe we can get any hints.
     
    Last edited: Jun 16, 2023