You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From images above it's obvious thtat small cube penetrates to another with at least 0.3 and even more than 0.5 distance.
But I have no results when testing with security margin = -0.5 and even =-0.3.
Here's my tests results:
Security margin: -0.5
no results
Security margin: -0.3
no results
Security margin: -0.2
Penetration depth: -0.775341
Distance between the shapes including the security margin: -0.975341
Witness point on shape1: -0.5 0.016894 1
Witness point on shape2: -0.5 0.016894 1
Normal: 0 0 1
Security margin: 0
Penetration depth: -0.775341
Distance between the shapes including the security margin: -0.775341
Witness point on shape1: -0.5 0.016894 1
Witness point on shape2: -0.5 0.016894 1
Normal: 0 0 1
Security margin: 0.1
Penetration depth: -0.775341
Distance between the shapes including the security margin: -0.675341
Witness point on shape1: -0.5 0.016894 1
Witness point on shape2: -0.5 0.016894 1
Normal: 0 0 1
Security margin: 0.5
Penetration depth: 0.5-----------------------Why value changed?
Distance between the shapes including the security margin: 1
Witness point on shape1: -1 0 0.724659
Witness point on shape2: -0.5 0 0.724659
Normal: 1 0 0
Am I correct understand security margin (-0.3) concept?
Also I noticed, that penetration depth changed at some moment.
Could you please explain why I'm getting such results. Should I tune collision request to improve collision detection precision?
I want to test collisions with negative and positive security margin (clash detection) with arbitrary meshes (including concave). Probably my NODE_TYPE is not correct fot this purpose? How can I understand which NODE_TYPE I should use for my purposes?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
Given 2 physically intersecting BVHModels :
models.zip
From images above it's obvious thtat small cube penetrates to another with at least 0.3 and even more than 0.5 distance.
But I have no results when testing with security margin = -0.5 and even =-0.3.
Here's my tests results:
Here's my testing code:
Am I correct understand security margin (-0.3) concept?
Also I noticed, that penetration depth changed at some moment.
Could you please explain why I'm getting such results. Should I tune collision request to improve collision detection precision?
I want to test collisions with negative and positive security margin (clash detection) with arbitrary meshes (including concave). Probably my NODE_TYPE is not correct fot this purpose? How can I understand which NODE_TYPE I should use for my purposes?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions