Inherits ContactModel.
|
| | GuendelContactModel (double colRestCoeff, double conRestCoeff) |
| | constructor More...
|
| |
|
virtual | ~GuendelContactModel () |
| | destructor
|
| |
| virtual void | preImpulseCalc (Contact &contact, ContactPoint &point) |
| | this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times. More...
|
| |
| virtual void | calcCollisionImpulse (Contact &contact, ContactPoint &point, double &nimpulse, double &timpulse) |
| | this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times. More...
|
| |
| virtual void | calcContactImpulse (Contact &contact, ContactPoint &point, double &nimpulse, double &timpulse) |
| | this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times. More...
|
| |
| virtual void | addImpulse (Contact &contact, ContactPoint &point, double nimpulse, double timpulse) |
| | this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times. More...
|
| |
◆ GuendelContactModel()
constructor
- Parameters
-
| colRestCoeff | [in] the restitution coefficient of collisions |
| conRestCoeff | [in] the restitution coefficient of contacts |
◆ addImpulse()
| virtual void addImpulse |
( |
Contact & |
contact, |
|
|
ContactPoint & |
point, |
|
|
double |
nimpulse, |
|
|
double |
timpulse |
|
) |
| |
|
virtual |
this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times.
◆ calcCollisionImpulse()
| virtual void calcCollisionImpulse |
( |
Contact & |
contact, |
|
|
ContactPoint & |
point, |
|
|
double & |
nimpulse, |
|
|
double & |
timpulse |
|
) |
| |
|
virtual |
this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times.
◆ calcContactImpulse()
| virtual void calcContactImpulse |
( |
Contact & |
contact, |
|
|
ContactPoint & |
point, |
|
|
double & |
nimpulse, |
|
|
double & |
timpulse |
|
) |
| |
|
virtual |
this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times.
◆ preImpulseCalc()
| virtual void preImpulseCalc |
( |
Contact & |
contact, |
|
|
ContactPoint & |
point |
|
) |
| |
|
virtual |
this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times.
The documentation for this class was generated from the following file: