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.

Work in Progress / Collision library

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th Aug 2005 10:32 Edited at: 19th Aug 2005 09:07
Sorry, no screenshots, and not likely to ever have any. The library I'm working on will have functions for various collisions. Currently, I only have simple cases programmed so far:


CURRENT FUNCTIONS
2D
Line segment - Ellipse
Line segment - Circle
Distance from point to a line segment
Length of a line
point in a triangle
box - box (AABB)
circle - circle
Point - Capsule
3D
Distance from a point to a plane


I plan to include a full set of 2D and 3D collision functions including OBB, ray-plane, cylinder-sphere, capsule-capsule, triangle-box, and many more.

I must be up early tomorrow and so I didn't want to start anything complicated tonight, hence the simple functions.




PETA - People for the Eating of Tasty Animals

Attachments

Login to view attachments
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 16th Aug 2005 17:15
I'll let this one slide ( without the screen shots ), but only 'cos I trust 'ya

Team EOD :: All-Round Nice Guy
Want Better dbHelp Files?
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 17th Aug 2005 06:14
n00b slap em!!!

are you going to make it open source? i would really like to see some REAL collision code

"people who wear clothing with tech themes for the purpose of gaining a social label are no different than teenagers who wear large sweatpants to look edgy"
-Wikipedia "Nerd"
Dom
20
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 17th Aug 2005 17:22
Jess seems to be losing his touch

"A book. I hate books. book is stupid." -- Some lame idiot
Formerly Saberdude --DFStudios--
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 18th Aug 2005 02:04
Hehe, Jess ya big softy!

I'll start posting the code once I have a few functions added.

I've been debating whether or not to have my functions dependent on my own UDTs, such as:



PETA - People for the Eating of Tasty Animals
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 18th Aug 2005 02:07
you could take screenshots of its code, and well then newbs can't complain, as its the main part of it, the bit with the action and needed crit, sounds interesting too

JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 18th Aug 2005 08:49
tell me when you have 3d functions going on

"people who wear clothing with tech themes for the purpose of gaining a social label are no different than teenagers who wear large sweatpants to look edgy"
-Wikipedia "Nerd"
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 19th Aug 2005 07:07 Edited at: 19th Aug 2005 09:05
blah, im adding more right now.



PETA - People for the Eating of Tasty Animals

Login to post a reply

Server time is: 2024-09-29 08:35:05
Your offset time is: 2024-09-29 08:35:05