Game Development Community

Invisible mesh in tiny car prevents car from touching ground.

by BigPapa · in Artist Corner · 04/29/2005 (10:03 pm) · 2 replies

Hello gang,

I'have created and rigged a vehicle in MiklShape. It is supposed to be a tiny car. I can export it but when i add it to the game, the vehicle stays on the air and never touches the ground.

It's like ther is an invisible mesh but i know it's not my collision mesh because i made it visible before exporting it and it never touched the floor.

I think it has something to do with the masscenter or the massbox.

Any ideas will be greatly appreciated. Thx!

#1
05/02/2005 (10:37 am)
Actually, it's probably more to do with the collision or contact tolerances. Try lowering the value of your collisionTol and/or contactTol variables (in your car datablock) and see if that gets you more of what you want. Play with the values a little, 'cause if you get it too low sometimes the car will simply fall through whatever it's supposed to be sitting on (terrain, interiors, etc.). Also double check that your car's collision mesh rides higher than its wheels do when its springs are compressed.

Hope that's helpful.


[edit: typographical fixes and some clarification]
#2
05/08/2005 (9:22 pm)
Thx. That actually helped a lot. Now I can move on to figuring out other parameters so the car behaves like a miniature car.

I'll keep digging through the books and forums for good explanations of vehicle physics, parameters and values.