Property | Type | Description | |
---|---|---|---|
Contacts | Box2D.Dynamics.Contacts.Contact[] | ||
Count | int | ||
PositionConstraints | Box2D.Dynamics.Contacts.ContactPositionConstraint[] | ||
Positions | Box2D.Dynamics.Contacts.Position[] | ||
Step | TimeStep | ||
Velocities | Box2D.Dynamics.Contacts.Velocity[] | ||
VelocityConstraints | Box2D.Dynamics.Contacts.ContactVelocityConstraint[] |
Method | Description | |
---|---|---|
ContactSolver ( ) : System | ||
Init ( ContactSolverDef def ) : void | ||
InitializeVelocityConstraints ( ) : void | ||
SolvePositionConstraints ( ) : bool |
Sequential solver.
|
|
SolveTOIPositionConstraints ( int toiIndexA, int toiIndexB ) : bool | ||
SolveVelocityConstraints ( ) : void | ||
StoreImpulses ( ) : void | ||
WarmStart ( ) : void |
public InitializeVelocityConstraints ( ) : void | ||
return | void |
public SolveTOIPositionConstraints ( int toiIndexA, int toiIndexB ) : bool | ||
toiIndexA | int | |
toiIndexB | int | |
return | bool |
public Contact[],Box2D.Dynamics.Contacts Contacts | ||
return | Box2D.Dynamics.Contacts.Contact[] |
public ContactPositionConstraint[],Box2D.Dynamics.Contacts PositionConstraints | ||
return | Box2D.Dynamics.Contacts.ContactPositionConstraint[] |
public Position[],Box2D.Dynamics.Contacts Positions | ||
return | Box2D.Dynamics.Contacts.Position[] |
public Velocity[],Box2D.Dynamics.Contacts Velocities | ||
return | Box2D.Dynamics.Contacts.Velocity[] |