How can we use margin in broad phase? #627
Unanswered
Everest-Zhao
asked this question in
Q&A
Replies: 1 comment
-
It's the same issue as this topic security_margin and collision_distance_threshold of DynamicAABBTreeCollisionManager |
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
-
Hi I noticed that we have a margin parameter to determine if objects are colliding based on the margin.
However, I am using the
DynamicAABBTreeCollisionManager
to calculate collisions, and I found that setting the margin not works. This happens because the broad phase'sleafCollide
andnodeCollide
do not consider the margin. Therefore, I added a function to address this issue. So far, it seems to work effectively with both mesh and convex objects. Do you think this is the right approach, or is there a better method?Beta Was this translation helpful? Give feedback.
All reactions