FindObject(...) with any of t"> Finding sub-objects of a Player | Technical Issues | Forums | Community | GarageGames.com

Game Development Community

Finding sub-objects of a Player

by Manuel Ruiz dupont · in Technical Issues · 09/05/2008 (1:38 am) · 4 replies

Hello,
I am using TSE 1.4
I load a .dts file in a player (shapeBase) object. In Torque Showtool pro, there is a combo box named "objects" that displays the sub-objects of the mesh, as created in 3DS.
But when I try player->FindObject(...) with any of these sub-objects name, I get NULL. Somewhere in the manual I saw : "For a single object, it just returns NULL, as normal objects cannot have children. "
But then, how can I make my player not a "normal object" ?

Thanks

#1
09/09/2008 (2:17 am)
In other words : How can I hide/show a subobject of a ShapeBase instance ?
#3
09/15/2008 (2:10 am)
Hi Manuel.


I think this is more of an engine-specific question and should be posted on proper forum (i.e. the TGE or TGEA forums, not general forums).

Anyways, I think there's a resource for this:

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5421
#4
09/16/2008 (9:18 am)
Thanks ! I think this is what I'm looking for.
And yes, you are right, I should have post in the Engine specific forum, please excuse the mistake.
Thanks again