Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your help!

We need 7 developers from Canada and 18 more from Australia to help us complete a research survey.

Support our site by taking a quick sponsored survey and win a chance at a $50 Amazon gift card. Click here to get started!


Capsule OBB collision idea, would this work?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 uglybdavis   Members   -  Reputation: 1050

Like
0Likes
Like

Posted 18 April 2013 - 07:50 PM

I won't be able to try this until i get home later tonight, but i was thinking on how to implement capsule-obb intersection.

 

Here is what i have so far:

 

Find the closest point to the obb on the line segment that represents the capsule.

Treat this point as the center of a sphere whose radius is the same as the capsules.

Do a sphere-obb collision check.

 

Would this work?

 

I don't think i missed anything....

Thanks!



Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS