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.

Newcomers DBPro Corner / Finding the co-ordinates of a collision

Author
Message
JamesWalker101
14
Years of Service
User Offline
Joined: 14th Apr 2010
Location: England
Posted: 6th Feb 2013 21:17
I would like to find the co-ords of a collision between a box, and a plane, can I do this, or with Sparkies collision library (havnt tried it yet for DB)

Thanks Guys
zeroSlave
15
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 6th Feb 2013 21:28 Edited at: 6th Feb 2013 21:53
I assume you are doing this in 3d? You can do the math for it by hand, but I would suggest using Sparky's. It's a very handy plugin.

Otherwise, look into quadtrees:
How does 3D collision / object detection work?
Quadtree demonstration

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.
JamesWalker101
14
Years of Service
User Offline
Joined: 14th Apr 2010
Location: England
Posted: 7th Feb 2013 08:27
Yes, I am in 3d, will get sparky's tonight. How would I go about coding it?
Ortu
DBPro Master
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 7th Feb 2013 20:47
the download comes with some really good example files, check them out and you should get an idea of how to use the plugin

Login to post a reply

Server time is: 2024-11-23 18:08:17
Your offset time is: 2024-11-23 18:08:17