Game Development Community

Multiple dts models for debris

by Valdin Misk · in Torque Game Engine · 07/27/2003 (11:19 pm) · 0 replies

I'm trying to get multiple instances of a single Debris model. Is there some
variable in the DebrisData datablock that would enable me to make multiple
instances of the same *.dts model? As in, could I somehow make this datablock
create the mesh objects as if they were particles?

Here's what I have:

datablock DebrisData(GroundDebris)
{
   shapeFile = "debris.dts";
   lifetime = 3.0;
   minSpinSpeed =   10.0;
   maxSpinSpeed = 1000.0;
   elasticity = 0.2;
   friction = 0.2;
   numBounces = 4;
   staticOnMaxBounce = false;
   gravModifier = 5.0; //use slightly less than normal gravity
   snapOnMaxBounce = false;
   fade = false;
}

Thanks in advance!