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

Proper way to create car wheels

Discussion in 'Editor & General Support' started by gbabichev1, Aug 9, 2014.

  1. gbabichev1

    gbabichev1

    Joined:
    Aug 9, 2014
    Posts:
    16
    Hello all

    I am looking for the 'proper' way to create a car with realistic wheels that rotate, and get propel by spinning.

    Do I do a wheel collider and then in script make the wheels turn?

    Do I use joints?

    What is the proper way, and if anybody has links to some tutorials that would be great. I am trying to create a simple car that has realistic wheels that can move across terrain.
     
  2. pauloaguiar

    pauloaguiar

    Joined:
    May 13, 2009
    Posts:
    700
  3. frankrs

    frankrs

    Joined:
    Aug 29, 2009
    Posts:
    300
    use wheel coliders but Dont link thrm to your wheels
     
  4. gbabichev1

    gbabichev1

    Joined:
    Aug 9, 2014
    Posts:
    16
    This looks great!
    I will be doing these today.

    frankrs: Yes, I got it working without linking them to the wheels! I just need to figure out now how to make them physically turn when I press the A/D keys. I am sure I can figure it out through script.
     
  5. pauloaguiar

    pauloaguiar

    Joined:
    May 13, 2009
    Posts:
    700
    --------------------
    If you follow how it is made by the user in the videos, you can see scripting the player, car setUp, AI car scripts, paths scripts etc... just take your time.