Property | Type | Description | |
---|---|---|---|
Bodies | Box2D.Dynamics.Body[] | ||
BodyCapacity | int | ||
BodyCount | int | ||
ContactCapacity | int | ||
ContactCount | int | ||
Contacts | Box2D.Dynamics.Contacts.Contact[] | ||
JointCapacity | int | ||
JointCount | int | ||
Joints | Box2D.Dynamics.Joints.Joint[] | ||
Listener | IContactListener | ||
Positions | Box2D.Dynamics.Contacts.Position[] | ||
Velocities | Box2D.Dynamics.Contacts.Velocity[] |
Method | Description | |
---|---|---|
Add ( |
||
Add ( |
||
Add ( |
||
Clear ( ) : void | ||
Init ( int bodyCapacity, int contactCapacity, int jointCapacity, IContactListener listener ) : void | ||
Report ( |
||
Solve ( |
||
SolveToi ( |
public Add ( |
||
contact | ||
return | void |
public Init ( int bodyCapacity, int contactCapacity, int jointCapacity, IContactListener listener ) : void | ||
bodyCapacity | int | |
contactCapacity | int | |
jointCapacity | int | |
listener | IContactListener | |
return | void |
public Report ( |
||
constraints | ||
return | void |
public Solve ( |
||
profile | ||
step | ||
gravity | ||
allowSleep | bool | |
return | void |
public SolveToi ( |
||
subStep | ||
toiIndexA | int | |
toiIndexB | int | |
return | void |
public Contact[],Box2D.Dynamics.Contacts Contacts | ||
return | Box2D.Dynamics.Contacts.Contact[] |
public Joint[],Box2D.Dynamics.Joints Joints | ||
return | Box2D.Dynamics.Joints.Joint[] |
public Position[],Box2D.Dynamics.Contacts Positions | ||
return | Box2D.Dynamics.Contacts.Position[] |