Game Development Community

StaticShape invisible when created

by Christopher Evans · in Torque Game Engine · 03/06/2009 (10:05 am) · 2 replies

I am completely confused right now.

I create a datablock

datablock StaticShapeData( GarageModelFloor )
{
   category = "GarageModels";
   shapeName = "~/data/test/garage_floor_2.dts";
};

When in World Editor Creator mode, I go into Shape -> GarageModels and I see my object "GarageModelFloor".

But when I create an GarageModelFloor object, I see the little red dot showing me the object has been created, and if I save the file the .mis shows the object is there.

Now the problem that I am having is that I can't see the GarageModelFloor model!

I created a bunch of StaticShape models and all of them are being created nicely. And I am able to create a TSSTatic version of the GarageModelFloor so I know the path is correct.

Has anyone had this issue before, and know what the issue is?


#1
03/06/2009 (10:08 am)
shapeName should be shapeFile
#2
03/06/2009 (10:11 am)
LOL!

Thanks for the quick reply, and it fix it.

Man I feel stupid :)