Queryflags

dudeabot

16-08-2008 23:05:12

hello.

I want to ignore the selection of trees on my level editor,

i have tried

setQueryFlags( QueryFlags::OTHER_MASK );


on the tree entities, but it doesnt work

this mask works well for my other entities

JohnJ

17-08-2008 23:29:21

on the tree entities, but it doesnt work

this mask works well for my other entities

PagedGeometry uses batched geometry and batched impostors to draw your entities efficiently. When you add your trees to PagedGeometry, they are no longer individual entities, and therefore can not have individual query flags, etc.

If you need to be able to select trees, you'll have to find another way to do it (for example you could do a raytrace using a virtual bounding sphere around each tree using your physics/collision engine).