Jump to content

vehicle tires


Recommended Posts

My vehicles tires don't seem to actually touch the ground.

I think the tire uses the bounding box for tire to ground collision. I have made the box smaller than the tire and still sits a little off the surface.

I have altered the radius, collision tolerance, contact tolerance and it just wont touch the ground. Anyone point me in the right direction?

Link to post
Share on other sites

Loading a Cheetah in game and switching to object view does not show the wheels

Looking at the wheel it says collision type as bounds. As for the datablock I use same numbers and I do have a cylinder as collision smaller than the wheel so not sure..

Link to post
Share on other sites

I did but it only shows bounds as collision type. Not sure if the Maya file used to create it has the collision mesh or not. This is what I was going by wheeledvehicle.cpp


// Determinw wheel radius from the shape's bounding box.

// The tire should be built with it's hub axis along the

// object's Y axis.

radius = shape->bounds.len_z() / 2;

Link to post
Share on other sites

So you don't have a collision mesh or it is not properly set up. Torque models require a special node setup so the engine can detect everything properly, on simple static models you may be able to do it without it, but with more complex stuff like vehicles this is much more important.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...