Game Development Community

.

by Unlisted · in Torque Game Engine · 08/29/2007 (9:52 am) · 2 replies

.

About the author

Recent Threads

  • .
  • .
  • .
  • .
  • .

  • #1
    08/29/2007 (12:13 pm)
    This is because WheeledVehicle does not use the DTS collision on wheels. It uses a simple ray cast between the wheel mount position and the radius of the tire in the spring vector direction. Typically this isn't a problem as tires on most vehicles are rather thin and do not act like bumpers.

    In your case you need a specialized solution that accounts for the width of the tire and collisions with the front and rear of the tire. While your at it you should try to account for some tire deformation that is typical in monster trucks.

    If i were doing this quickly i'd fake it with multiple ray casts which would cover the inner and outer walls of the tire as well as the middle. Then based on those decide what the suspension extension should be.
    #2
    08/28/2011 (7:07 am)
    I have the same issue with tires. Players can walk through them and I catch alot of grief as a result. Would it make sense to add invisible collision boxes to the vehicle where the tires would be?