Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Collision detection

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
cbx Posted - Jul 13 2003 : 5:45:16 PM
I have gotten a basic phisics simulator to work but now I need a function that will return true or false weather or not a circle and rectangle have collided. I already know how to detect circle-circle and rect-rect collisions.

for example

Dim Ret as Boonean  
Ret = DetectCollision(Circle, Rect)  


The function does not have to be absoluetly acurate it just has to be ... believable.

Has any one seen a function out there that would do this. BTW the collsition detection is in 2d so i don't need 3D although it might help.

Or no that I think of it has anyone seen a 2d triangle collision detector? THat would probubly help just as much.
7   L A T E S T    R E P L I E S    (Newest First)
Almar Posted - Jul 18 2003 : 04:19:49 AM
Almar slaps Brykovian with a large trout

Brykovian Posted - Jul 14 2003 : 7:51:50 PM
"Give a man a fish and feed him for a day. Teach a man to fish and feed him for a lifetime."

Of course, that's the optimists version ... I've also heard the version that goes: "Give a man a fish ... and he just might slap you with it!"

-Bryk
cbx Posted - Jul 14 2003 : 6:10:29 PM
quote:

Well ... you know what they say ... "give a man a fish" ...


hhmmm, ... I can't remember how that saying goes exatly, or what the meaning was. ... yep you lost me on that one.
Brykovian Posted - Jul 14 2003 : 06:56:08 AM
quote:
Originally posted by cbx

I hate having to read thru what I consider to be lame tutorials all the time, because when I am looking to solve a problem all I want is a short application (100 lines of code or less) showing me how to do it. I am also of the opinion that all of the books about programming are 95% filler full of bla bla bla and only 5% actual content.


Well ... you know what they say ... "give a man a fish" ...

-Bryk
cbx Posted - Jul 13 2003 : 10:03:44 PM
Brykovian if I was'nt a bipedal male I'd hump your leg! ... er .. well mabe I'd just give you a lick. ... er ... hmmm ,... I believe the phrase "EEEWWW!" is now in order.

PS: The CircleRectCollision was EXACTLY what I was looking for! have you written any other tutorials, .. huh huh have you have you. I'll keep that pesky neighbors cat from craping on your lawn again ,whoof! whoof!
cbx Posted - Jul 13 2003 : 9:51:10 PM
ah yes I remember that one. ... Ahem ... where's the downloadable source code Brykovian, where's the downloadable source code?

I hate having to read thru what I consider to be lame tutorials all the time, because when I am looking to solve a problem all I want is a short application (100 lines of code or less) showing me how to do it. I am also of the opinion that all of the books about programming are 95% filler full of bla bla bla and only 5% actual content. Also why I deffinitly don't purchase programming books any more. Waste of friggan mula mula that they are.

quote:
Originally posted by Brykovian

In honor of one of your previous posts where you state that the tutorials at Lucky's site only server to annoy you ... I hereby give you a link to a tutorial at Lucky's site: http://www.rookscape.com/vbgaming/tutBU.php ;) :D

It's one I wrote a while ago ... it gives a way to do circle-versus-rect detection, and also a way to approach specific types of triangles.

Hope it helps,
-Bryk

Brykovian Posted - Jul 13 2003 : 8:01:37 PM
In honor of one of your previous posts where you state that the tutorials at Lucky's site only server to annoy you ... I hereby give you a link to a tutorial at Lucky's site: http://www.rookscape.com/vbgaming/tutBU.php ;) :D

It's one I wrote a while ago ... it gives a way to do circle-versus-rect detection, and also a way to approach specific types of triangles.

Hope it helps,
-Bryk

VBGamer © Go To Top Of Page
This page was generated in 0.11 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.