Klamp't
0.9.0
|
Container for information about contacts regarding a certain object. Can be set to accumulate a summary over sub-steps or detailed data per-step. More...
#include <Simulator.h>
Public Attributes | |
bool | accum |
set this to true if you want to accumulate summary feedback over sub-steps | |
int | contactCount |
int | separationCount |
number of sub-steps in which contact was made / object was separated during the outer simulation interval. | |
bool | inContact |
true if contact exists at the end of the outer simulation interval | |
Vector3 | meanForce |
Vector3 | meanTorque |
Vector3 | meanPoint |
bool | penetrating |
true if the objects are currently penetrating | |
int | penetrationCount |
the number of sub-steps in which the objects were penetrating during the outer simulation interval | |
bool | accumFull |
vector< double > | times |
vector< ODEContactList > | contactLists |
Container for information about contacts regarding a certain object. Can be set to accumulate a summary over sub-steps or detailed data per-step.
The reason why this is needed is that each outer Simulator.Advance call may potential make several inner sub steps. Rather than simply reporting the data at the last point, this class will aggregate the sub-step data.
The reason why this is needed is that each outer WorldSimulation.Advance call may potential make several inner sub steps. Rather than simply reporting the data at the last point, this class will aggregate the sub-step data.