Game Development Community

TSShapeInstance class instantiation

by Metallica · in Torque Game Engine · 04/17/2006 (5:46 am) · 0 replies

Hi,

I added one new boolean variable which basically a flag to tell this and that. So I noticed that there are two constructors.. and therefore I initalized the boolean variable to true.

But the problem is there are some objects (presumable using TSShapeInstance) who have this boolean flag set to false. I am baffled, because it is as if the variable was not initialized (not passing thru constructor). Is there any other place that I should intialize the variable?

Thanksss