how to search for a entity in a scene graph using c++ ?
how to search for a entity in a scene graph using c++ ?
You need to provide a few more details. Is this your own scene graph? Is it from a library/engine or some sort? What type of scene graph is it etc. The more details you provide the better answer you will get.
you traverse through all elements and compare the appropriate property of every element to the condition you're looking for.
takes probably less time to implement it than to post here ;)
takes probably less time to implement it than to post here ;)
Scene graphs are not designed for searching. Store your scene/character in a linear array and search that.
L. Spiro
L. Spiro
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement