Search Unity

Differential Drive Car Model Unity

Discussion in 'Physics' started by k2108, Dec 17, 2018.

  1. k2108

    k2108

    Joined:
    Oct 8, 2018
    Posts:
    2
    Hi everyone,

    I am trying to create an environment in Unity in which I want to control a differential drive car. Currently, the car model available in the standard assets requires the user to press both up arrow and left/right arrow simultaneously to make the car turn, while I want the car to turn only by pressing either left/right arrow.

    Can anyone suggest me of any already available model or way to achieve the required behavior using the Standard Asset Car Model?
     
  2. Edy

    Edy

    Joined:
    Jun 3, 2010
    Posts:
    2,508
    If I've understood you correctly, you're trying to simulate a car with no classical steering, but the wheels in each side rotating at different speeds providing the steering. This way the car would support the so called "neutral steering": rotating around its vertical axis in-place.

    For achieving that you must write your own car controller that provides different torque to left and right wheels. The Unity car controller doesn't have this functionality.
     
    Last edited: Dec 18, 2018
    k2108 likes this.