Skip to main content
GameDev.net gamedev.net
🔒 Locked

Collision detection question???

Started by PitJedi Jun 18, 2002 at 11:30 PM 1 replies 600+ views
Original Post
PitJedi
PitJedi
Collision detection is taking the physics of your objects and checking against all of the points in your 3d world to see if you reached a colision. Am i correct on the fact that this is how you figure out if a colision has occured.
N A T A S
blueEbola
blueEbola
Yes that seems correct.

When you say physics of the object, I assume you mean like the objects boundaries, or its "bounding-box." A good way to go about collision detection is to have your world organized into a nice tree-structure. Then you can find in which node your object lies, and only test the object with the other vertices in that node.
rickpeek
rickpeek
quote:
Original post by PitJedi
checking against all of the points in your 3d world to see if you reached a colision. Am i correct


youre not. check only potential colliders.. e.g current leaf etc. depends your spatial partitioning..
and you probably want create simple bounding primitives for highpolygon objects etc to calc collision more efficiently..

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.