Author Topic: setWheelPowered  (Read 1442 times)

setWheelPowered: Wheel Index Out of Bounds, vehicle has 14631559 hubs.

It spams my consol when ever a vehicle explodes. Whats it mean?

The model is wrong. It doesn't have set Hub0 - 3 nodes, so it uses every vertex as a node. Either override ::onAdd to remove wheels (I'm assuming it's a Ball-style one) or make a new model.

However, if anyone has joined your server and downloaded the model they'll have to delete it/redownload - they'll still get Wheels errors.

It happens when you spawn the vehicle, not when it explodes.

Ahh. Ok. Its the stunt plane btw. Should i re download the model?

If you changed the script, try removing the last setWheelPowered/Springs/etc - it only has three wheel mounts on it.

EDIT: Also, try changing the wheels number in the vehicle or making your own onAdd script to manually set them. That can also help.
« Last Edit: July 07, 2007, 03:20:12 PM by Space Guy »