MultiMaterial and Vehicle

noph
Posts: 1
Joined: Tue Aug 10, 2010 9:10 pm

MultiMaterial and Vehicle

Post by noph »

Hi!

I have a couple of questions regarding MultiMaterial and Vehicle. What is required to get this working?

I have everything working using ordinary btBvhTriangleMeshShape for my scenery.

I tried with btMultimaterialTriangleMeshShape and everything runs but it does not take into account the material properties i've added.

Do I need to use CF_CUSTOM_MATERIAL_CALLBACK on the scenery AND somehow on the vehicle as well (on the wheels?)? Whats the relation between the wheelfriction and the material friction on my landscape.

Does the CF_CUSTOM_MATERIAL_CALLBACK mean that I have to use a custom callback for calculating a friction result?

Best Regards