Home | Trees | Indices | Help |
|
---|
|
The class manages contact between two shapes. A contact exists for each overlapping AABB in the broad-phase (except if filtered). Therefore a contact object may exist that has no contact points.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
|
|||
|
|||
|
|||
|
|
|||
e_nonSolidFlag = 1
|
|||
e_slowFlag = 2
|
|||
e_islandFlag = 4
|
|||
e_toiFlag = 8
|
|
|||
thisown The membership flag |
|||
s_registers | |||
s_initialized | |||
flags b2Contact_flags_get(b2Contact self) -> uint32 |
|||
manifoldCount b2Contact_manifoldCount_get(b2Contact self) -> int32 |
|||
prev b2Contact_prev_get(b2Contact self) -> b2Contact |
|||
next b2Contact_next_get(b2Contact self) -> b2Contact |
|||
node1 b2Contact_node1_get(b2Contact self) -> b2ContactEdge |
|||
node2 b2Contact_node2_get(b2Contact self) -> b2ContactEdge |
|||
shape1 b2Contact_shape1_get(b2Contact self) -> b2Shape |
|||
shape2 b2Contact_shape2_get(b2Contact self) -> b2Shape |
|||
toi b2Contact_toi_get(b2Contact self) -> float32 |
|
|
AddType(b2ContactCreateFcn createFcn, b2ContactDestroyFcn destroyFcn, b2ShapeType type1, b2ShapeType type2) |
|
Returns a dictionary representation of self, with dict(var=value [, ...]) additional_ignore can be specified to ignore certain properties. |
b2Contact_GetManifolds(b2Contact self) -> b2Manifold Get the manifold array. |
b2Contact_GetManifoldCount(b2Contact self) -> int32 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. |
b2Contact_IsSolid(b2Contact self) -> bool Is this contact solid? true if this contact should generate a response. |
b2Contact_GetNext(b2Contact self) -> b2Contact Get the next contact in the world's contact list. |
b2Contact_GetShape1(b2Contact self) -> b2Shape Get the first shape in this contact. |
b2Contact_GetShape2(b2Contact self) -> b2Shape Get the second shape in this contact. |
|
thisownThe membership flag |
s_registers |
s_initialized |
flagsb2Contact_flags_get(b2Contact self) -> uint32 |
manifoldCountb2Contact_manifoldCount_get(b2Contact self) -> int32 |
prevb2Contact_prev_get(b2Contact self) -> b2Contact |
nextb2Contact_next_get(b2Contact self) -> b2Contact |
node1b2Contact_node1_get(b2Contact self) -> b2ContactEdge |
node2b2Contact_node2_get(b2Contact self) -> b2ContactEdge |
shape1b2Contact_shape1_get(b2Contact self) -> b2Shape |
shape2b2Contact_shape2_get(b2Contact self) -> b2Shape |
toib2Contact_toi_get(b2Contact self) -> float32 |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Feb 24 18:39:58 2009 | http://epydoc.sourceforge.net |