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!
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.
@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.
awesome!
jackCre8iveNode 4 days ago in playlist Uploaded videos
In the begining he said "a quick tutorial"
NPCnerfer 5 days ago
Ty alot
MileProduction 2 weeks ago
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
2centthompson 3 weeks ago
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 3 weeks ago
@GreenGameProductions use a mesh collider
2centthompson 3 weeks ago
@2centthompson thanks
GreenGameProductions 3 weeks ago
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 3 weeks 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
@Minecrafterman12 Done that, now the wheels are floating above the car and it always drives backwards
Minecrafterman12 1 month ago
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)
XandersnipeS 1 month ago
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)
steadiworkz 3 months ago
how do you move the cylinder?
SourBabyHeadYekzie 3 months ago
Very helpfull
SourBabyHeadYekzie 3 months 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
cool thanks cant wait for the day I get to the point to make my own games
ewigkase1 4 months ago
@ewigkase1 - Well with tools like Unity it won't take long...and not to mention the online community/documentation for Unity is outstanding!
PolyNurb 4 months ago