GJK algorithm distance of closest points in 3D

Computes the coordinates where the minimum distance between two convex polyhedrons occure.

Al momento, stai seguendo questo contributo

It uses the GJK algorithm to find the point, on the minkowsky negative sum of the polyhedrons, closest to the origin. It then uses barycentric coordinates to find the the points on those polyhedrons belonging to the selected point on the minkowsky negative sum.
A video made by Casey Muratori as well as an implementation of the GJK collision detection made by Matthew Sheen right here on matlabcentral have helped me a lot to understand what I was doing.
https://mollyrocket.com/849
https://www.mathworks.com/matlabcentral/fileexchange/57907-fast-3d-collision-detection-gjk-algorithm

Cita come

Philippe Lebel (2026). GJK algorithm distance of closest points in 3D (https://it.mathworks.com/matlabcentral/fileexchange/62429-gjk-algorithm-distance-of-closest-points-in-3d), MATLAB Central File Exchange. Recuperato .

Categorie

Scopri di più su Simulation in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.1.0.0

Updated for a case where we instantly converge and a variable was not assigned.

1.0.0.0

added thumbnail picture, no code was modified.