Non-selectable scene objects
by Jari · in Torque Game Engine · 11/23/2006 (5:29 am) · 3 replies
Hi,
I'm having a problem with some objects in the editor which are so large that they cover other objects and they get selected instead of the smaller objects. One such object is the fxReplicatorBlocker which I have integrated to the engine from the resource here in GG's site. You see it covers a big area making it almost impossible to select the objects inside the fxReplicatorBlocker's area.
So my question is, is there some way you can make it completely non-selectable by the mouse clicks?
I'm having a problem with some objects in the editor which are so large that they cover other objects and they get selected instead of the smaller objects. One such object is the fxReplicatorBlocker which I have integrated to the engine from the resource here in GG's site. You see it covers a big area making it almost impossible to select the objects inside the fxReplicatorBlocker's area.
So my question is, is there some way you can make it completely non-selectable by the mouse clicks?

Employee Michael Perry
ZombieShortbus
If you view SDK\example\creator\editor\EditorGui.cs, you can find the following:
function WorldEditor::init(%this) { // add objclasses which we do not want to collide with [b]%this.ignoreObjClass(TerrainBlock, Sky, AIObjective);[/b] //...rest of functionWithout this line, you could select and move the Terrain and Sky in the WorldEditor.
This is probably something you want to look at.