Game Development Community

Vehicle has 92534743 hubs?

by Nicholas Driscoll · in Torque Game Engine · 01/17/2005 (3:34 pm) · 4 replies

Okay, I'm making a racing game, and (obviously), I want to change the car model from the one that comes with starter.racing and put in one of my own models. I changed the car datablock to "mycar.dts" in the shapes folder, and get this in console.log:

Quote:setWheelTire: wheel index out of bounds, vehicle has 92534743 hubs
setWheelSpring: wheel index out of bounds, vehicle has 92534743 hubs
setWheelPowered: wheel index out of bounds, vehicle has 92534743 hubs

I also did a Mac OS X port to Toons , and when I entered the bubble to change into a car, the game crashes and has the SAME THING in console.log. Please help! Thanks

#1
01/18/2005 (12:10 am)
Looks like data corruption in the datablock.What are the proper values? Do you get any other warnings/errors? Have you tried running in debug mode, ,or with the NET_DEBUG define set?
#2
01/24/2005 (6:23 pm)
I picked up that exact same error the first time I tried to get a vehicle model into Torque. In my case, it was because the hub# dummies in the object were not correctly tied to the "tree" of objects in the scene. I realized that they had to be linked to start01 (which is of course linked to base01). You might want to take a look at the linking of the original buggy.max object if you're using 3ds. From the menu in any version of Max, go to: graph editors, new schematic view.

If you're not using 3ds, then all I can say is that you've probably managed to neglect the hub nodes in the export somehow, but you'll have to ask someone familiar with your modeling package for specific help. Does the vehicle itself show up properly in Torque, even though the script fails to produce wheels on it?
#3
01/26/2005 (7:36 pm)
Thanks! I understand what I need to do now, I got a nice example in Blender... :-)
#4
04/08/2005 (11:49 am)
I am getting something similar to this error has some one found out how to fix?

EDIT: nvm I found my problem. I was setting power to hubs that do not exist. HEHE