Game Development Community

Multiple Debris (part 2)

by Mike Damert · in Torque Game Engine · 07/13/2003 (8:58 pm) · 1 replies

I have a new problem...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 3d sprites 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!
--Mike

#1
04/01/2004 (1:02 pm)
.I'm trying to get multiple instances of a single Debris model.....

I used a simple workaround for this .. i just copied the same .dts into different folders
so the engine thinks i am using different models.