Manifolds between primitives #1502
Answered
by
jrouwe
kozakromch
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
jrouwe
Feb 10, 2025
Replies: 1 comment
-
I think you need to add:
in order to actually populate This also looks incorrect (adding a squared distance and a non-squared distance):
Note that in the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kozakromch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you need to add:
collide_settings.mCollectFacesMode = ECollectFacesMode::CollectFaces
in order to actually populate
mContactPointOn1
andmContactPointOn2
.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 theManifoldBetweenTwoFaces
has a bug fix and takes a non-squared value.