Creating a driveable vehicle in Unity 3D
Loading...
3,229
Loading...
Uploader Comments (PolyNurb)
see all
All Comments (21)
-
Thanks man ! You're a life saver ! :D
-
awesome!
-
In the begining he said "a quick tutorial"
-
Ty alot
-
@2centthompson thanks
-
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
-
@GreenGameProductions use a mesh collider
-
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!
Loading...
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 1 month ago
@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.
PolyNurb 1 month ago
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 1 month ago
@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.
PolyNurb 1 month ago
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 4 months ago
@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.
PolyNurb 4 months ago