Why is my wheeled vehicle flying away?[SOLVED]
Whenever I try to play with my custom rigged wheeled vehicle, it flips and flys out of control off the ground.
I've been through the wheeled vehicle tutorial provided here -> https://www.youtube.com/watch?v=9ariPx6M33o&list=PLZlv_N0_O1gaz6eETtIxcmUDnqu5A-8At
I got his mesh working identically to how he did, so I took a look at the vehicle example the docs here -> https://docs.unrealengine.com/latest/INT/Engine/Physics/Vehicles/VehcileContentCreation/
Then I made a really bad go-cart model, rigged it up and exported it, and it seems that no matter what I do it doesn't want to work, I have cross referenced everything I can find between the two setups, the only difference I know of is that the one I made was rigged and the other skeleton was procedurally setup in ue4. Mine has a few extra bones but they don't have physics assets so I see no reason why they would be effecting the way the cart would act.
EDIT: Turns out I wasn't reading the documentation carefully enough, my bones were not oriented correctly, for anyone who has this problem, make sure your root and wheel bones are oriented with x forward and z up. I'm ashamed that was the answer, it was so simple.
1.Make sure you switch world coordinated axis in Maya or MayaLT to Z up. (This can be done in the preferences window. Realign vehicle or build new facing X forward)
2.Make sure your pivot transformations for all meshes are reset (example: transform, rotation, scale = 1,1,1. use the freeze transformations option)
3.Make sure your Wheel pivots are centered to your wheel mesh. (use the center pivot option, then bake pivot)
It is important to bake pivot! Your wheel pivots make be positioned in the center of the wheels on screen, but they are still calculated at zero offset after freezing transforms and exported at center of world (x 0, y0, z0)
I come from a max background, and this was new to me, and caused a big headache. Hope this helps anyone. Thanks
answered Aug 10 '16 at 11:05 PM
What about for 3ds max its happening to me on 3ds max
answered Oct 17 '16 at 03:58 PM
Im not sure it could be many things. make sure to follow the tutorial for every line. Its a fairly long tutorial, so one feels as if things can be glanced over. step by step.
if vehicle and pivots are reset baked and properly positioned. just redo the bones with proper orientation and don't forget to set kinematic physics for wheels. Like im not sure where exactly you think you might be having the problem. and its been awhile.
Are you doing the wishbone or basic setup. The basic setup is easy
Follow this question
Once you sign in you will be able to subscribe for any updates here