• Advertisement
Sign in to follow this  

collision detection: arc vs obb (2d)

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

I was wondering if anyone has an implementation or advice on collision between an arc segment and an OBB in 2D. It would be the arc of a circle, specified by the central angle and a rotation. The arc could have a 'sided' vector specifying which way collisions should be projected out. I would need a test that gave penetration depth. Also, although I'm just assuming it's more difficult, a bezier segment would be just as good. It seems the arc segment is very easy to grasp, and flexible, as a surface, as opposed to the control points of a bezier curve. Basically want something to use to build curved terrain in a 2D physics sim. My other primitives are OBBs as I mentioned, and circles. TIA.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement