jbaicoianu / elation-engine

Elation Javascript Game Engine
MIT License
29 stars 8 forks source link

need spatial datastructure to easily get nearby objects #4

Open jbaicoianu opened 11 years ago

jbaicoianu commented 11 years ago

we should probably add all objects in the scene to an octree and provide some functions in the world system to query for nearby objects. this could be useful for nearby target lists, determining gravity influence, and many more functions

jbaicoianu commented 10 years ago

Sounds like three.js has octree code included in the newer versions, probably worth checking out