Advertisement Jump to content

Archived

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

bschwagg

collision detection idea

This topic is 6197 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
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!