Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
b2ContactSolver Class Reference

`#include <b2ContactSolver.h>`

## Public Member Functions
| b2ContactSolver (b2ContactSolverDef *def)
| ~b2ContactSolver ()
void | InitializeVelocityConstraints ()
void | WarmStart ()
void | SolveVelocityConstraints ()
void | StoreImpulses ()
bool | SolvePositionConstraints ()
bool | SolveTOIPositionConstraints (int32 toiIndexA, int32 toiIndexB)

## Public Attributes
b2TimeStep | m_step
b2Position * | m_positions
b2Velocity * | m_velocities
b2StackAllocator * | m_allocator
b2ContactPositionConstraint * | m_positionConstraints
b2ContactVelocityConstraint * | m_velocityConstraints
b2Contact ** | m_contacts
int | m_count

## Constructor & Destructor Documentation

b2ContactSolver | ( | b2ContactSolverDef * | def | ) |

~b2ContactSolver | ( |  | ) |

## Member Function Documentation

void InitializeVelocityConstraints | ( |  | ) |

bool SolvePositionConstraints | ( |  | ) |

bool SolveTOIPositionConstraints | ( | int32 | toiIndexA,
|  | int32 | toiIndexB
| ) |  |

void SolveVelocityConstraints | ( |  | ) |

void StoreImpulses | ( |  | ) |

void WarmStart | ( |  | ) |

## Member Data Documentation

b2StackAllocator* m_allocator

b2Contact** m_contacts

int m_count

b2ContactPositionConstraint* m_positionConstraints

b2Position* m_positions

b2TimeStep m_step

b2Velocity* m_velocities

b2ContactVelocityConstraint* m_velocityConstraints

The documentation for this class was generated from the following files:

- Box2D/Dynamics/Contacts/b2ContactSolver.h
- Box2D/Dynamics/Contacts/b2ContactSolver.cpp