GuiObjectView and the LoadingGui
by Robert Nall · in Torque Game Engine · 08/05/2004 (10:00 am) · 5 replies
Hi all, I have another GuiObjectView issue that's putting me at my wit's end. I'm trying to use GuiObjectView to display a TSShapeInstance while loading a mission. I'm having essentially two problems with this: 1) When I use GuiObjectView on the LoadingGui while the LoadingGui is actually loading a mission, I lose all control of the x-rotation of my GuiObjectView objects (when the loadingGui is not actively loading, like when you just load it up in the gui editor, i have full control over my x-rotation); and 2) somewhere around the end of the first phase of loading or the beginning of the second phase I lose any custom skin I may have loaded onto my GuiObjectView shape, it reverts to displaying the object's base texture.
So, does anyone know what it is in the mission loading code that would take over or affect the rendering of TSShapeInstances in GuiObjectView?
Thanks for any help,
-rob
So, does anyone know what it is in the mission loading code that would take over or affect the rendering of TSShapeInstances in GuiObjectView?
Thanks for any help,
-rob
#2
-rob
[edit: typos]
08/05/2004 (10:22 am)
Sorry, I wasn't clear on the first point . . . I'm not trying to control the objectView with my mouse. I have scripted some functions that allow me to set the rotation of the objects so I can "pose" the objects while the mission loads. Unfortunately, when the objectView is used on the active loadingGui, only the z rotations are taking effect. Setting the x rotation doesn't affect the shape at all. As a matter of fact, the objectView in my loadingGui doesn't even default to zero on the x-axis like every other objectView does.-rob
[edit: typos]
#3
08/05/2004 (1:04 pm)
Maybe the pivot point in the model is off
#4
08/05/2004 (1:07 pm)
Only if the code is changing it in game . . . the model shows up fine in another objectView I use as a player model chooser.
#5
08/08/2004 (4:01 am)
Is your objectview a child of your loading progress? Keeping them seperate may help.
Associate Anthony Rosenbaum
2) Not certain what is happening, doesn't look like the textures are released.