• Advertisement

Archived

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

collision detection idea

This topic is 5928 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

Typical collision detection would use bounding spheres, line segments, etc. Even though modern methods are becoming extremely fast, i thought of a different approach, that could possibly do a decent job. What about testing a some (50?) pixels in the depth buffer each frame, and if the depth is closer than a designated space flag a ''hit''. It just seems like a logical approach, just does anyone think this is feasible? It is it slow to check the depth buffer if possible?

Share this post


Link to post
Share on other sites
Advertisement
For a side scroller type game that might work, but for something like a FPS it wouldn''t work. Besides, from what I hear, you have to be very careful reading the z/backbuffer because it can really kill performance if you don''t do it right.

Moe''s Site

Share this post


Link to post
Share on other sites

  • Advertisement