Property | Type | Description | |
---|---|---|---|
AllowSleep | bool | ||
ContinuousPhysics | bool | ||
EnableDiagnostics | bool | ||
EnableWarmstarting | bool | ||
MaxPolygonVertices | int | ||
PositionIterations | int | ||
TOIPositionIterations | int | ||
TOIVelocityIterations | int | ||
UseFPECollisionCategories | bool | ||
VelocityIterations | int |
Method | 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. |
return | float |
public static MixRestitution ( float restitution1, float restitution2 ) : float | ||
restitution1 | float | The restitution1. |
restitution2 | float | The restitution2. |
return | float |
public static int TOIPositionIterations | ||
return | int |
public static int TOIVelocityIterations | ||
return | int |
public static bool UseFPECollisionCategories | ||
return | bool |