Свойство | Type | Description | |
---|---|---|---|
AllowSleep | bool | ||
ContinuousPhysics | bool | ||
EnableDiagnostics | bool | ||
EnableWarmstarting | bool | ||
MaxPolygonVertices | int | ||
PositionIterations | int | ||
TOIPositionIterations | int | ||
TOIVelocityIterations | int | ||
UseFPECollisionCategories | bool | ||
VelocityIterations | int |
Méthode | Description | |
---|---|---|
MixFriction ( float friction1, float friction2 ) : float |
Friction mixing law. Feel free to customize this.
|
|
MixRestitution ( float restitution1, float restitution2 ) : float |
Restitution mixing law. Feel free to customize this.
|
public static MixFriction ( float friction1, float friction2 ) : float | ||
friction1 | float | The friction1. |
friction2 | float | The friction2. |
Résultat | float |
public static MixRestitution ( float restitution1, float restitution2 ) : float | ||
restitution1 | float | The restitution1. |
restitution2 | float | The restitution2. |
Résultat | float |
public static int TOIPositionIterations | ||
Résultat | int |
public static int TOIVelocityIterations | ||
Résultat | int |
public static bool UseFPECollisionCategories | ||
Résultat | bool |