Jump to content
  • Advertisement


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


Bounding Box Physics

This topic is 5767 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

...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:




Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!