How to define different alarmDistance and contactDistance for different objects? #3789
-
Hi, I am using rootNode.addObject('LocalMinDistance', name="Proximity", alarmDistance="0.2", contactDistance="0.1", angleCone="0.01") for contact detection. I have two objects in my scene and I want to set different alarmDistance and contactDistance for them. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Dear @ZA123654 As you can notice for the ProximityIntersection API (see BaseProximityIntersection.h), the data However, in the CollisionModel, it seems that a data Best wishes. |
Beta Was this translation helpful? Give feedback.
-
@hugtalbot Thank you very much! That is what I want to implement. |
Beta Was this translation helpful? Give feedback.
@hugtalbot Thank you very much! That is what I want to implement.