Game Development Community

Help with GuiObjectView

by Thomas -elfprince13- Dickerson · in Torque Game Engine · 11/01/2008 (3:22 pm) · 4 replies

I'm using a GuiObjectView to revamp the player selection gui for a game I'm working on, but when I mount accessories and decals to the player, they don't appear in the correct place on the model even though they do in game. frequently the appear at odd rotations, or at a strange offset away from the body. Has anybody else dealt with this before? and how did you solve it? I think the problem may be related to the fact that some of the accessories use the same mountnode, and different slots, but GuiObjectView doesn't seem to have any way to specify the slot to mount to. I'm guessing there's some internal node name I need to know instead of "mount0," etc, but, I don't know how to figure this out. (I did find a bunch of what seem to be node-names by opening the .dts in a hex editor)

last question, are the nodenames for GuiObjectView case-sensitive?

About the author

C.S. PhD student at Brown University. Project lead for FreeBuild. Administrator, Cemetech tech community. Webmaster for the Village2Village Projects and the Vermont Sustainable Heating Initiative.


#1
11/11/2008 (11:53 am)
Anyone, help?
#2
11/11/2008 (12:14 pm)
In C++ it IS case sensitive, in TorqueScript, I don't think so.
#3
11/11/2008 (12:17 pm)
Look here
& here

etc..
#4
11/11/2008 (12:20 pm)
Thanks :) any idea about the weird rotation problems?


[edit]
Christian: hmm, I take it from the fact that those topics are engine-owners only, that its not an issue I can fix in script? I guess its fine, since i'm planning on buying the engine in the next week anyway