Class to be used as a callback interface for some user defined action to be taken each time a contact is added to the container.
It can be used to modify the friction value (as default it is the average of the friction of the two bodies). The user should implement an inherited class and implement a custom ContactCallback() function.
Inherited by chrono::SystemAddCollisionPointCallback.
|virtual void||ContactCallback (const collision::ChCollisionInfo &mcontactinfo, ChMaterialCouple &material)=0|
|Callback used to report contact points being added to the container. More...|
Member Function Documentation
Callback used to report contact points being added to the container.
This must be implemented by a child class of ChAddContactCallback
mcontactinfo get info about contact (cannot change it) material you can modify this!