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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity5 car moving sideways

Discussion in 'Physics' started by KingMatthew, Jun 27, 2015.

  1. KingMatthew

    KingMatthew

    Joined:
    Jul 7, 2013
    Posts:
    166
    In unity4, the cars I made using the wheel collider worked fine. I have started a new project in unity5 to see if I can make a car with the new wheel colliders. My wheel colliders are facing the same way as the car, but they don't move in that direction. (Does that make any sense?)

    Attached is a screenshot of the car. Wheels.PNG
    As you can see the wheels are facing the right direction. When I put force on the car it moves sideways.

    This might have a simple answer to it but I cant find it.
    Thanks in Advance!
     
  2. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    youre putting force on the car, or using wheel collider torque?
     
  3. KingMatthew

    KingMatthew

    Joined:
    Jul 7, 2013
    Posts:
    166
    I have no scripts attached to the car. The only force that would act on it would be gravity.
     
  4. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    scripts being attached to the car is irrelevant. You're applying force somehow based on your own statement.