Game Development Community

Load static x model

by Malcolm Ferguson · in Torque X 3D · 06/08/2010 (12:54 pm) · 0 replies

I'm trying to load static x models (buildings) that make up my town using T3DStaticXNARenderComponent which I substituted for T3DStaticTSRenderComponent from the CreateMaze() subroutine from John's book. Unfortunately the TX3D documentation is a bit thin and I can't find any examples on how to load the models that have been compiled. I would think the .Load method is what I want but can't seem to get the parameters correct. If anybody has managed to load x models, what do I need to do, or am I using the wrong component, in which case what should I use?