프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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[] |
메소드 | 설명 | |
---|---|---|
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 SolveTOIPositionConstraints ( int toiIndexA, int toiIndexB ) : bool | ||
toiIndexA | int | |
toiIndexB | int | |
리턴 | bool |
public Contact[],Box2D.Dynamics.Contacts Contacts | ||
리턴 | Box2D.Dynamics.Contacts.Contact[] |
public ContactPositionConstraint[],Box2D.Dynamics.Contacts PositionConstraints | ||
리턴 | Box2D.Dynamics.Contacts.ContactPositionConstraint[] |
public Position[],Box2D.Dynamics.Contacts Positions | ||
리턴 | Box2D.Dynamics.Contacts.Position[] |
public Velocity[],Box2D.Dynamics.Contacts Velocities | ||
리턴 | Box2D.Dynamics.Contacts.Velocity[] |