Skip to content

Capsule-sphere collides at closest point on segment. #201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikel-zhobro
Copy link

@mikel-zhobro mikel-zhobro commented Apr 22, 2022

Computes collision by first getting the point on the capsule-segment that is closest to the sphere-center.
Uses clamp to avoid branches.

Secondary:
tiny_vector3.h: change API according to Eigen
geometry.hpp: Capsule can compute the position of tip & base given the pose

tiny_vector3.h: change api according to Eigen

geometry.hpp: Capsule can compute position of tip & base given the pose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant