• Advertisement

Archived

This topic is now archived and is closed to further replies.

Bounding Box Physics

This topic is 5495 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
...all the tutorials I''ve found so far seem to concentrate on boxes without velocity - all they do is check if one of the boxes in inside the other. What I have are two MOVING boxes. boxes which "move" between frames too. So with the static-box system thingy, if one box is going too fast, it''ll just pass right thru the other one. Not good. I want to be able to move the boxes only as far as they can go before they collide.

Share this post


Link to post
Share on other sites
There are discussions out there dealing with swept volumes, e.g., intersect the volume swept out by an object over time rather than just the raw object shape. If you were dealing with spherical bounding volumes instead of box bounding volumes, then the bounding volumes would sweep out a capsule over a time step. You could do your collision detection between two capsules. With boxes, you would probably use a technique that tries to efficiently identify a separating axis between each pair of boxes. If there is a separating axis, then no collision.

I suspect what you will really want to do is look at this article by Dave Eberly:

www.magic-software.com/Documentation/IntersectionRotatingBoxes.pdf

and,

www.magic-software.com/Documentation/DynamicCollisionDetection.pdf

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.

Share this post


Link to post
Share on other sites

  • Advertisement