Search Unity

Wheel Collider acting weird on terrain

Discussion in 'Editor & General Support' started by XeOniFiCaTiOn, Apr 1, 2014.

  1. XeOniFiCaTiOn

    XeOniFiCaTiOn

    Joined:
    May 7, 2013
    Posts:
    17
    Hi Guys,

    Im developing a car game and have built my Basic vehicle with input being provided from NGUI buttons. I am having a weird issue with my wheel colliders. When i accelerate the vehicle and stop it on a higher position of the terrain, the input that is being provided to the vehicle reverses and the vehicle starts moving backwards instead of forward. I am using basic motorTorque on the rear wheels to bring momentum to the vehicle. Any help will be duly appreciated.

    Regards,
    Sharat
     
  2. XeOniFiCaTiOn

    XeOniFiCaTiOn

    Joined:
    May 7, 2013
    Posts:
    17
    Hi Guys,

    Figured out the problem. It was an issue with the pivots of the child objects. Upon reconstruction of the vehicle the wheel collider works like a charm.

    Regards,
    Sharat