Added: 4 months ago
From: PolyNurb
Views: 3,099
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (20)

Sign In or Sign Up now to post a comment!
  • awesome!

  • In the begining he said "a quick tutorial" 

  • Ty alot

  • this is nice but im not sure i can use it im my zombie game becuase i want it to be enterable how could i make the script make the car enterable

  • if I made or downloaded a more realistic model (not a box) how would i get the box colider to fit tightly?? or would it have to be bigger then the model!

  • @GreenGameProductions use a mesh collider

  • @2centthompson thanks

  • i followed the tutorial, test the game, but the wheel rotates sideways, still with the car but the rotation is wrong. so i try things, it turn out this happens when i applied "wheel allignment script" to wheels' mesh.

    if i remove the script the car moves ok, but no wheel animation (when steering).

    before the game start everytings look ok, but when i start the game, the wheel automatically rotate them self in the wrong direction @@. Maybe its because my 3d app, cause i use 3ds max, i dont know..

  • @arienrivendell I would check the pivot points on all of the wheels in your 3d application. Make sure history is deleted and transforms frozen (in 3d app)...also make sure to center the pivot on each wheel. What the wheel align script does, is align the art wheels to the wheel colliders and rotates them as the car moves. Your issue is the wheels are rotating around the wrong axis. It means something with the art geometry of the wheels is not right...gotta be in the 3d app.

  • Moving works, but when I start my game wheels separates from the chassis and spins about 1 meter away from the middle. Centering them doesn't work, what should I do?

  • @Minecrafterman12 I would check the pivot points on all of the wheels in your 3d application. Make sure history is deleted and transforms frozen (in 3d app)...also make sure to center the pivot on each wheel.

  • @Minecrafterman12 Done that, now the wheels are floating above the car and it always drives backwards

  • thanks for the tutorial!

    have been coding a project for the past 2 days non-stop and i have discovered that NO ONE wants to tell you how the scripts of their car works.

    thanks again! big help :)

    (subscribed :L)

  • Dude awesome tut, a real shortage of decent stuff like this about ! I would love some help doing my own motorbike scrips if you would help me ?

    :O)

  • how do you move the cylinder?

  • Very helpfull

  • i saw this posted in the android part of unity forum's,havent seen the whole tut.

    but how will this work for/on android?(i dont have audio ATM so i dont know how you controlled the carthingy)

  • @andybruintje - It should work exactly the same on Android as it would iOS. It's no more intensive for either platform. It uses the same physics, same scripts, etc. This is actually a pretty decent solution as it uses only one simple box collider and (4) wheel colliders. You can model a car at a good resolution, maybe about 1200 triangles with a 512x512 texture to cover the body and tires.

  • cool thanks cant wait for the day I get to the point to make my own games

  • @ewigkase1 - Well with tools like Unity it won't take long...and not to mention the online community/documentation for Unity is outstanding!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more