Scaling a WheeledVehicle.
by Miguel · in Torque Game Engine · 07/17/2007 (7:00 am) · 6 replies
How can I scale a Wheeled vehicle from the scripts so that the mount points and the wheels can also be affected?
#2
07/17/2007 (7:10 am)
Well, I need the same vehicle at different sizes. Of course, I could rescale the vehicle from 3dSMAX and re-export it many times at different sizes. But I think it should not be the best way to go. So there's not a way to scale it from the scripts? It would be very sad...
#3
07/17/2007 (7:12 am)
I don't think there is. The Torque scale tools have always been problematic, even with simple objects.
#4
07/17/2007 (7:26 am)
Theoretically it could be done, but I don't know if it would be advisable. As a quick test I opened up a testing level I have sitting around and scaled a vehicle that was sitting in it by 5. It worked, but as soon as I started driving it the wheels fell through the world, likely caused from the scaling of the collision data. Torque's never handled that well. Its always best to have your scaling done before you import an object in.
#5
07/17/2007 (7:36 am)
I found it easier to just make a metric ruler that is scaled by torque units and do it that way since the unit is about a meter.
#6
07/18/2007 (7:26 am)
Well, I have been trying to scale my vehicle from 3dsmax seven times bigger and re-export it. However, when I include the vehicle into my game, its bounding box remains unscaled. What is happening?
Torque Owner Tim Heldna