Hi there i have followed official tutorial on making race game,everything was good until i tried to import my own model.The problem is the wheel collider are facing wrong way and mesh collider dont work and the whole car allways fall trough plane:( .
Any ideas??
And also if you guys know about some tutorial on making a RTS game please post it .
Thanks for answers.
Regarding the orientation, that’s a common problem. Basically, you’ll need to make sure your model is oriented correctly to begin with (or is adjusted appropriately on import or export), or attach it to a child object that is oriented appropriately.
Regarding falling through the plane, I’m not sure whether (non-convex) mesh collider vs. plane intersection is supported. You can check the docs if you want to be sure, but a straightforward (and typical) solution would be to use one or more basic primitives (or a convex mesh collider) for your car instead.
Falling through solved,wheel coliders not,tried rotating in 3Dsmax(not worked),trying to setup export(FBX (not worked))trying to create only cylinders from side view as a replacement for wheels(not worked),parenting wheels to the body of car or car as a package(not worked),isn’t there any way how to rotate those bloody colliders?
Edit:Car is now going to the left and right still no clue how to make it go forward
The short answer is, all these problems are solvable. As for how to solve them, it’s hard to say without seeing the actual project.
People often run into problems with asset importing though, so you might try searching the forums for ‘fbx’, ‘fbx import’, or ‘fbx export’ and see if you can find some relevant info. (From what you describe, it sounds like at least some of the problems you’re encountering are due to models being aligned incorrectly in local space.)
i have rotated everything to zero and still not working.
Here is my model and i am importing it to Car tutorial from official tutorials.
Try say me what is wrong so i could repair it and remember what to do next time.
Your pivot orientation is wrong on your objects, you need all the pivots to 90,0,0, so goto the hierachy menu, select pivot, then affect pivot only, then change the rotate to 90,0,0, so blue arrow is pointing forward, red to the left and green up and then export that. Cant quite recall if you need to do a reset xform as well. Also probably doesnt help having all those animation keys in there.
Chris
ITS WORKING!!!
Thank you so much
car is finaly going the way wich it supposed to go.
As my thanks to you,you can keep the car model and do whatever you want.
BTW:your race game look very cool and nice design of the cars(indycars or something else)