Vehicle explosion
by Tasty Green Pees :-, · in Torque Game Engine · 03/02/2006 (4:38 pm) · 5 replies
Can anyone explain why my vehicle won't explode when I destroy it? When it's taken full damage it just disappears in such a lame way!
In the WheeledVehicleData(...) datablock i've included
Furthermore, I got the corresponding datablock called:
I can't see why it won't work. I gon't get any errors on the console.
In the WheeledVehicleData(...) datablock i've included
explosion = VehicleExplosion;
Furthermore, I got the corresponding datablock called:
datablock ExplosionData( VehicleExplosion ) {...}I can't see why it won't work. I gon't get any errors on the console.
About the author
#2
03/02/2006 (5:20 pm)
Nah uh. is this what's missing? but wouldn't there be any fire particles or smoke particles? my vehicleexplosion function should do this.
#3
03/02/2006 (5:35 pm)
Make sure the explosion data is executed before the vehicle datablock. Also make sure you don't have any syntax errors.
#4
03/02/2006 (5:57 pm)
Debis data will throw debris mesh around
#5
I put an echo command int he VehicleExplosion datablock and it seems that the datablock is not being called because I don't get the echo in the console when the vehile is destroyed. I'm stumped.
I've got the datablocks for the explosion.
I've got the the line to call the explosion in my vehicle datablock.
Yet it isn't being called. Why?
03/03/2006 (4:03 am)
@ Josh. I did just that but it still won't go up in flames >:(I put an echo command int he VehicleExplosion datablock and it seems that the datablock is not being called because I don't get the echo in the console when the vehile is destroyed. I'm stumped.
I've got the datablocks for the explosion.
I've got the the line to call the explosion in my vehicle datablock.
Yet it isn't being called. Why?
Associate Anthony Rosenbaum