Game Development Community

Change skin of a TSStatic object

by Klaas Hemerijckx · in Torque Game Engine · 06/14/2006 (6:20 am) · 2 replies

Hi,

Is it possible to change the skin of a TSStatic object on the fly like you can do with a GameBase-derived object with the SetSkinName("xxx") function?

Thanx,
Klaas

#1
06/15/2006 (10:53 pm)
Sorry.. only ShapeBase derived objects can use that..

TSStatic can only have basic rendering and simple collision..

You could however simply swap the model out with another on the fly since its a simple shape and probably not too size intensive.
#2
06/16/2006 (12:19 am)
Or you can use a StaticShape and it will work fine then.