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.

Code Snippets / Instant Bullets to Rectangular Shape (2d)

Author
Message
Proteus
22
Years of Service
User Offline
Joined: 4th Oct 2002
Location: The Future
Posted: 20th Aug 2004 08:09 Edited at: 20th Aug 2004 08:10
When Distance to line Won't cut it .

Next step: FAST Shape Based 2d Collision system , let's optimize this sucker...



Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Aug 2004 02:10
Just do a line intersect line check for all the segments that make up the shape.

"eureka" - Archimedes
Proteus
22
Years of Service
User Offline
Joined: 4th Oct 2002
Location: The Future
Posted: 21st Aug 2004 05:10
Yeah, it's what I'm doing right now, but I'm trying to optimize a few checks by dividing the shapes into convex ones...

Login to post a reply

Server time is: 2024-11-23 19:54:08
Your offset time is: 2024-11-23 19:54:08