IRockyContactIntermediateData is an interface to access some useful property values related to the contact that can be needed during the calculation steps of a custom contact model, i.e. calculation of the normal and tangential forces, and calculation of the impact energy.
Members
- get_friction_coefficient
- get_home_centroid_to_contact_point_vector
- get_near_centroid_to_contact_point_vector
Public functions
Function get_home_centroid_to_contact_point_vector
Function get_near_centroid_to_contact_point_vector
Function get_friction_coefficient
ROCKY_PLUGIN_TANGENTIAL_FORCE_ON_CONTACTS, this method must be called after that hook. If called before that point, the returned value is undetermined.
Return type: ROCKY_FUNCTIONS double