Jump to content
  • Advertisement
Sign in to follow this  

ODE and my quadtree

This topic is 4736 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've got all my game objects stored in a quadtree, and now I want to hand over those objects to ODE to do physics with. The problem is ODE is going to be moving them around and stuff without me knowing, so they're not going to stay in the same place in the quadtree. I could poll each object for its position each frame and update the quadtree that way, but that seems really really inefficient. I see that ODE has its own "spaces" system, with an option for quadtree spaces. Should I just hand over all the objects to ODE? How would I do stuff like frustum culling if I did that? Any advice?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!