hbhasker
26-08-2007 21:05:20
I am using a SphereSceneQuery to determine which objects in the scene are withing a certain range of a unit.
The problem I am facing is that despite setting typemasks etc certain movable objects always get returned. This is due to the default behaviour of Movable Objects to match all scenequeries. Their flag is set to 0xFFFFFFFF i think by default.
The problem i face is when I use OgreOde and setup debugging, the debug meshes also start matching my sceneQueries. Is there anyway to set the flag for these not to match scenequeries by default or exclude them from scenequery?
The problem I am facing is that despite setting typemasks etc certain movable objects always get returned. This is due to the default behaviour of Movable Objects to match all scenequeries. Their flag is set to 0xFFFFFFFF i think by default.
The problem i face is when I use OgreOde and setup debugging, the debug meshes also start matching my sceneQueries. Is there anyway to set the flag for these not to match scenequeries by default or exclude them from scenequery?