Game Development Community

Fix for scaling on vehicle wheels?

by Jaimi McEntire · in Torque Game Engine Advanced · 01/22/2009 (5:31 pm) · 2 replies

When I scale a vehicle, the polygons are all scaled correctly, but the collision on wheels doesn't appear to scale at all - This results in the cars looking like they're driving around with flat tires, because the wheel geometry is larger and goes into the terrain.

Has anyone a fix for this? I tried searching the forums, but there's just way too much noise, I'm really unable to find anything anymore.

#1
01/23/2009 (8:14 am)
I believe the wheel collision is calculated in the vehicle code by the tire radius datablock property. So while you scale the vehicle the radius of the tire in the datablock stays the same, causing your geometry to fall through.
#2
01/23/2009 (12:57 pm)
That makes perfect sense. Thanks!