Property | Type | Description | |
---|---|---|---|
allCollisionCallbacksAgree | bool | ||
allowSleep | bool | ||
continuousPhysics | bool | ||
defaultFixtureCollidesWith | Category | ||
defaultFixtureCollisionCategories | Category | ||
defaultFixtureIgnoreCCDWith | Category | ||
enableDiagnostics | bool | ||
enableWarmstarting | bool | ||
maxPolygonVertices | int | ||
maxSubSteps | int | ||
positionIterations | int | ||
skipSanityChecks | bool | ||
toiPositionIterations | int | ||
toiVelocityIterations | int | ||
useConvexHullPolygons | bool | ||
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 bool allCollisionCallbacksAgree | ||
return | bool |
public static Category defaultFixtureCollidesWith | ||
return | Category |
public static Category defaultFixtureCollisionCategories | ||
return | Category |
public static Category defaultFixtureIgnoreCCDWith | ||
return | Category |
public static int toiPositionIterations | ||
return | int |
public static int toiVelocityIterations | ||
return | int |
public static bool useConvexHullPolygons | ||
return | bool |
public static bool useFPECollisionCategories | ||
return | bool |