Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


bsp style collision detection in octree

This topic is 5487 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 read about how collision detections are done using Quake BSP. Baiscally there are "traceRay", "traceSphere" and "traceBox" functions. I understood almost most of it... except the "traceBox" but now i am wondering how can i implement the same techniques in octree. I my octree for each nodes there is a m_childNodes[8]. So , to check whether a line intersects the childnodes or not... and if they do then which nodes they intersect should be pretty easy. But how do i do the sphere intersection and box intersection along a trace-line in octree... so the possiblities of a sphere hitting the child nodes while passing through a line is more and pretty complex to code. Is there any "good" application oriented tuts or documents covering how to do collision detection using octree ?

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!