Sign in to follow this  
Followers 0
uglybdavis

Capsule OBB collision idea, would this work?

0 posts in this topic

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!

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0