Game Development Community

SetCloaked doesn't work and setHidden crashes the game

by Nicolai Dutka · in Torque Game Engine Advanced · 07/27/2008 (3:22 pm) · 2 replies

I am trying to hide an object in my scene temporarily. I did a console dump of the object and it says it can be hidden and cloaked.

I tried:
%obj.setHidden(1);

Result:
Torque has crashed.


I tried:
%obj.setCloaked(1);

Result:
Nothing that I can see but "isCloaked" returns true. I thought this was supposed to hide the object?


I am using TGEA 1.7.0

#1
07/27/2008 (3:32 pm)
I just noticed that running setCloaked on the player makes his weapon disappears, but not him....
#2
08/23/2009 (2:33 pm)
some news?