Skip to content

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

Open
mikel-zhobro wants to merge 1 commit intoerwincoumans:masterfrom
mikel-zhobro:capsule_sphere_collision
Open

Capsule-sphere collides at closest point on segment.#201
mikel-zhobro wants to merge 1 commit intoerwincoumans:masterfrom
mikel-zhobro:capsule_sphere_collision

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