Skip to content

True tangent contact for BarMesh drop - #8

Merged
ajlennon merged 1 commit into
mainfrom
feat/true-tangent-contact
Aug 19, 2026
Merged

True tangent contact for BarMesh drop#8
ajlennon merged 1 commit into
mainfrom
feat/true-tangent-contact

Conversation

@ajlennon

Copy link
Copy Markdown
Member

Summary

  • Face CL is accepted only if the tangent point lies in the triangle (not XY barycentric).
  • Lattice draws at mesh contact points so the ball is on a face, edge, or vertex.

Test plan

  • Play: fewer spikes; lattice sits on the part.
  • Headless bake still BAKE_OK strategy=barmesh.

Face drops now require the contact point (CL minus R along the normal) to lie in the triangle, and the lattice is drawn on those contact points so the tool sits on the mesh instead of a loose XY guess.

Assisted-by: Cursor <cursoragent@cursor.com>
@ajlennon
ajlennon merged commit b07cd1f into main Aug 19, 2026
1 check passed
@ajlennon
ajlennon deleted the feat/true-tangent-contact branch August 19, 2026 18:59
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