Skip to content

How to get the faces which are penetrating the colliding mesh? #4498

Closed Answered by Grantim
ParvGuptaSpCT asked this question in Q&A
Discussion options

You must be logged in to vote

I see.
Actually we have special function to find penetration:

/**
* \brief computes minimal distance between two meshes
* \param rigidB2A rigid transformation from B-mesh space to A mesh space, nullptr considered as identity transformation
* \param upDistLimitSq upper limit on the positive distance in question, if the real distance is larger than the function exists returning upDistLimitSq and no valid points
*/
MRMESH_API MeshMeshSignedDistanceResult findSignedDistance( const MeshPart & a, const MeshPart & b,
const AffineXf3f* rigidB2A = nullptr, float upDistLimitSq = FLT_MA…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ParvGuptaSpCT
Comment options

@Grantim
Comment options

Answer selected by ParvGuptaSpCT
@ParvGuptaSpCT
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants