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

Question Why my car with trailer cannot move? (using hinge joint)

Discussion in 'Physics' started by PilerT, Oct 18, 2022.

  1. PilerT

    PilerT

    Joined:
    Aug 18, 2019
    Posts:
    3
    The car I use is from unity standard asset. It can move normally. However, after i added a trailer for it and hinge joint/character joint, the wheels are spining but the car cannot move.

    Both of the car and the trailer have 4 wheels collider and box collider.

    If I set a very small mass of the trailer (not a good solution), the car moves. It seems too heavy for the car.

    I have seen some one have the same problem. He use a script to solve, but I dont know the language and the script content.

    The link:



    car:
    Screenshot 2022-10-18 122320.png
    trailer
    螢幕擷取畫面 2022-10-18 122950.png
     

    Attached Files: