Advertisement Jump to content


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


Can someone help with collisions?

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

Hi, can somebody help with collision ? My project is frozen! I heard about bounding boxes, but how it acutally works i can''t even imagin'' ! Can You send me some code of it? ( in c ) Or where i can get tutors or samplecodes ! Please, please help ! Thanks. Cr.

Share this post

Link to post
Share on other sites

It depends on your Game which kind of collision Detection u need, the simplest way is going with Bounding sphere''s, but this only usefull for "the first check", or an Game where the Objects are mostly round. For using this kind of technic, you only need to get the distance from middlepoints of to Objects, and then look, if it is smaller than then two radii of the Objects.
But if you wan''t more accurate Collisions you should go
with bounding Boxes, or even triangle intersection testing.
There is an very good Article, about the more Advanced thing on Gamasutra :
And there are also good Articles here on !


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!