Skip to content

Manifolds between primitives #1502

Answered by jrouwe
kozakromch asked this question in Q&A
Discussion options

You must be logged in to vote

I think you need to add:

collide_settings.mCollectFacesMode = ECollectFacesMode::CollectFaces

in order to actually populate mContactPointOn1 and mContactPointOn2.

This also looks incorrect (adding a squared distance and a non-squared distance):

_settings.mSpeculativeContactDistance + _settings.mManifoldToleranceSq,

Note that in the master version of Jolt the ManifoldBetweenTwoFaces has a bug fix and takes a non-squared value.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kozakromch
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