Object without render or collision
by Novack · in Torque Game Engine · 01/16/2008 (4:29 pm) · 7 replies
It is posible to instantiate an object with transformation and movement, but no shape? I mean no render and no collision, although still be able to receive movement orders.
I guess a hidden object would do the work I need, but isnt somehow a waste, to give it a shape that will never be shown or used?
Thanks in advance to anyone near who understand my disturbed mind...
I guess a hidden object would do the work I need, but isnt somehow a waste, to give it a shape that will never be shown or used?
Thanks in advance to anyone near who understand my disturbed mind...
About the author
http://cyberiansoftware.com.ar/
#2
One question though, what do you mean by an empty DTS?
Edit: I mean, do you mean leave the shape field empty (dont know if its posible), or create an empty DTS file (dont know if its posible either - lol)?
01/16/2008 (5:48 pm)
Hi Orion, thanks!One question though, what do you mean by an empty DTS?
Edit: I mean, do you mean leave the shape field empty (dont know if its posible), or create an empty DTS file (dont know if its posible either - lol)?
#3
so you could make one of those with no polygons or collision.
there may be another/better way, of course, that just seems like the simplest.
01/16/2008 (5:51 pm)
Well, shapeBase is a convenient class, but it likes to have a .dts file associated w/ it,so you could make one of those with no polygons or collision.
there may be another/better way, of course, that just seems like the simplest.
#4
Got it now. Thank you!
01/16/2008 (5:53 pm)
Thanks Orion, you didnt give time to fix my awful question! XDGot it now. Thank you!
#5
EDIT:
If all you need is a "eye in the sky" type thing, might wish to dig into how the editors CAM works...
01/16/2008 (5:55 pm)
If i recall, and this situation you wish to use an 'empty' mesh in place of the player mesh. Then you need the EYE and CAM node's.EDIT:
If all you need is a "eye in the sky" type thing, might wish to dig into how the editors CAM works...
#6
Thanks for the help boys.
01/16/2008 (5:58 pm)
Mhh good point there. I'll be talking to someone more versed on RTSUnit shapes to see what can be left outsideThanks for the help boys.
#7
Actually what I need is an object where to attach the Orion's Gui3DProjectionCtrl, but this object must act like a moving RTSUnit, so essentially what I need is an invisible unit. Of course, as I only need it to be able to move, I was thinking on use a class higher on the hierachy to dont be wasting resources on that.
Has it any sense to you people? Its costing me a lot to explain, and Im becoming to feel on the wrong path...
01/16/2008 (6:08 pm)
I see your edit now Caylo.Actually what I need is an object where to attach the Orion's Gui3DProjectionCtrl, but this object must act like a moving RTSUnit, so essentially what I need is an invisible unit. Of course, as I only need it to be able to move, I was thinking on use a class higher on the hierachy to dont be wasting resources on that.
Has it any sense to you people? Its costing me a lot to explain, and Im becoming to feel on the wrong path...
Associate Orion Elenzil
Real Life Plus
i'd just use a normal shapeBase or whatever with an empty DTS.