-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getNormalImpulse()
Returns the accumulated normal impulse applied at this point.double
getTangentialImpulse()
Returns the accumulated tangential impulse applied at this point.boolean
isSolved()
Returns true if this contact was solved.
-
-
-
Method Detail
-
getNormalImpulse
double getNormalImpulse()
Returns the accumulated normal impulse applied at this point.- Returns:
- double the accumulated normal impulse
-
getTangentialImpulse
double getTangentialImpulse()
Returns the accumulated tangential impulse applied at this point.- Returns:
- double the accumulated tangential impulse
-
isSolved
boolean isSolved()
Returns true if this contact was solved.A contact is only solved if it's been through the contact solver. This means that any new contact will return false. It also means that contacts that are part of a sensor
ContactConstraint
will return false as will manually disabledContactConstraint
s. One last situation is when the contact is part of aContactConstraint
that has linearly dependent contacts - one of them will be solved and the other will be ignored. disabled.- Returns:
- boolean
- Since:
- 4.0.0
-
-