Свойство | Type | Description | |
---|---|---|---|
Flags | ContactFlags | ||
NodeA | |||
NodeB | |||
Prev | |||
Toi | float | ||
ToiCount | float |
Свойство | Type | Description | |
---|---|---|---|
Pool | IWorldPool |
Méthode | Description | |
---|---|---|
Evaluate ( |
||
GetWorldManifold ( |
Get the world manifold.
|
|
Init ( Fixture fA, int indexA, Fixture fB, int indexB ) : void |
initialization for pooling
|
|
MixFriction ( float friction1, float friction2 ) : float |
Friction mixing law. The idea is to allow either fixture to drive the restitution to zero. For example, anything slides on ice.
|
|
MixRestitution ( float restitution1, float restitution2 ) : float |
Restitution mixing law. The idea is allow for anything to bounce off an inelastic surface. For example, a superball bounces on anything.
|
|
ResetFriction ( ) : void | ||
ResetRestitution ( ) : void | ||
SetFlagForFiltering ( ) : void |
Flag this contact for filtering. Filtering will occur the next time step.
|
|
Update ( IContactListener listener ) : void |
Méthode | Description | |
---|---|---|
Contact ( IWorldPool argPool ) : System |
protected Contact ( IWorldPool argPool ) : System | ||
argPool | IWorldPool | |
Résultat | System |
public abstract Evaluate ( |
||
manifold | ||
xfA | ||
xfB | ||
Résultat | void |
public GetWorldManifold ( |
||
worldManifold | ||
Résultat | void |
public Init ( Fixture fA, int indexA, Fixture fB, int indexB ) : void | ||
fA | Fixture | |
indexA | int | |
fB | Fixture | |
indexB | int | |
Résultat | void |
public static MixFriction ( float friction1, float friction2 ) : float | ||
friction1 | float | |
friction2 | float | |
Résultat | float |
public static MixRestitution ( float restitution1, float restitution2 ) : float | ||
restitution1 | float | |
restitution2 | float | |
Résultat | float |
public Update ( IContactListener listener ) : void | ||
listener | IContactListener | |
Résultat | void |