Package | Box2D.Dynamics.Contacts |
Class | public class b2Contact |
Source | b2Contact.as |
Method | Defined by | ||
---|---|---|---|
GetManifoldCount():int
Get the number of manifolds.
| b2Contact | ||
GetManifolds():Array
| b2Contact | ||
Get the next contact in the world's contact list.
| b2Contact | ||
Get the first shape in this contact.
| b2Contact | ||
Get the second shape in this contact.
| b2Contact | ||
IsSolid():Boolean
Is this contact solid?
| b2Contact |
GetManifoldCount | () | method |
public function GetManifoldCount():int
Get the number of manifolds. This is 0 or 1 between convex shapes. This may be greater than 1 for convex-vs-concave shapes. Each manifold holds up to two contact points with a shared contact normal.
Returnsint |
GetManifolds | () | method |
public function GetManifolds():Array
Returns
Array |
GetNext | () | method |
public function GetNext():b2Contact
Get the next contact in the world's contact list.
Returnsb2Contact |
GetShape1 | () | method |
GetShape2 | () | method |
IsSolid | () | method |
public function IsSolid():Boolean
Is this contact solid?
ReturnsBoolean — true if this contact should generate a response.
|