Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / AGK Collision Algorithm?

Author
Message
wargasmic
18
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 13th Jun 2013 16:31 Edited at: 13th Jun 2013 16:31
Does the 3D collision detection in AppGameKit use an optimized algorithm such as grid based collision detection?

I'm wondering whether I need to implement my own grid based collision detection or not.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 13th Jun 2013 20:06
It uses a binary tree for polygons inside an object, but it is a simple list for groups of objects. So if you had thousands of small objects it might be beneficial to only check objects close to each other.

Login to post a reply

Server time is: 2024-11-24 15:59:11
Your offset time is: 2024-11-24 15:59:11