PDA

View Full Version : I don't want to walk through my walls!



JLawson
10-28-2001, 06:01 PM
Can someone explain or direct me to a site about object collision? I don't want to walk through my walls, I want to stop when i hit them. Its 3d, (as in Quake view). anyone help?

~Jesse

MrShoe
10-29-2001, 12:11 AM
There is a pretty good beginners tutorial at www.flipcode.com (http://www.flipcode.com) (i hope i got the url right) for collision detection. I think you might have to have some prior knowledge of DotProducts and stuff thought, not sure...

jide
10-29-2001, 01:34 AM
to detect collisions, you must know a little about geometry in space. you must know if one triangle is going threw another.

11-02-2001, 08:46 AM
Originally posted by JLawson:
Can someone explain or direct me to a site about object collision? I don't want to walk through my walls, I want to stop when i hit them. Its 3d, (as in Quake view). anyone help?

~Jesse

I've heard about very good method of collision detection called BSP-trees or something. If you find anything about it pls send me mail, because i am new too and i don't know about coll. detection too. my mail is olupika@yahoo.com

11-03-2001, 04:38 PM
You can find a breif description of BSP in Watt&Watt. Also try looking for OBB (object bounding box) for alternative methods.