Replies: 1 comment
-
A slightly more forgiving threshold should be fine, though on top of that, there's a lil bug with the first fallback. It requires calibration, and that calibration was removed in an earlier version, so it ended up pointing the wrong direction depending on the capsule's orientation. Since that normal is generally very poor, it ended up choosing another one (like the triangle normal). Should be fixed in 4d87f41, thanks for the report! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm learning about narrowphase, and I found that CapsuleTriangleTester doesn't perform well in a scene.
The edge of the triangle intersects the axis of the capsule. According to the code, fallback should be used at this time. But the square of the shortest distance between two line segments is 8e-15, which is greater than the threshold (1e-15), so fallback will not be performed.
I think in this case, a fallback should be performed, but I don't know how to solve this problem, maybe simply modify the threshold?
The scene:
2.4.0
Beta Was this translation helpful? Give feedback.
All reactions