# Sweep OBB vs static plane, not otherwise.

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

## Recommended Posts

Hello! Do you guys know some algorithms like: Swept OBB vs line segment test, not the ray or line segment vs sweep OBB Swept OBB vs Swept Circle test. I just need to know time of collision and normal, also if they overlaps a push out distance. if this is a line segment, that if ponential collision is forward in time and it's lying in negative plane space, just don't return anything and same for center of OBB, to avoid suppressed overlapping test. I perform this tests for 2D space. Thanks in advance!

##### Share on other sites
you're OBB vs segment, or OBB vs hyerplane? There is quite a difference. For hyperplanes, you can sweep the vertices alone, else you need something a bit more involved.

I'm doing polygon collisions, but segments are similar (think of a them as a box with a height of 0).

For spheres, it's more complicated (solving quadratic equations).

##### Share on other sites
Dunno What the hyperplane is. :)
Any article what the hyperplane is in collision detection?

So well, something new from oliii is anyway cool.
Thank you too much.

Anything about spheres on a move?

P.S
PolyColy v3 wasn't work well with circles as I know, I perform varying position in forwarding tests and seems like min and max disances won't calculates well, so the thiangle can think that it still touch circle but that's not true.

Solving quadratic equations is not a big deal, question is how to compute coefficients, for example just even for static OBB, for sweep OBB I think is even more hard, maybe some Cubic equation, but cubic or even quadric is not a problem for computer, question is in coefficients.

• ### Game Developer Survey

We are looking for qualified game developers to participate in a 10-minute online survey. Qualified participants will be offered a \$15 incentive for your time and insights. Click here to start!

• 12
• 30
• 9
• 16
• 12