Go to the source code of this file.
|
| JPH_NAMESPACE_BEGIN constexpr float | cDefaultCollisionTolerance = 1.0e-4f |
| | If objects are closer than this distance, they are considered to be colliding (used for GJK) (unit: meter)
|
| |
| constexpr float | cDefaultPenetrationTolerance = 1.0e-4f |
| | A factor that determines the accuracy of the penetration depth calculation. If the change of the squared distance is less than tolerance * current_penetration_depth^2 the algorithm will terminate. (unit: dimensionless)
|
| |
| constexpr float | cDefaultConvexRadius = 0.05f |
| | How much padding to add around objects.
|
| |
| constexpr float | cCapsuleProjectionSlop = 0.02f |
| | Used by (Tapered)CapsuleShape to determine when supporting face is an edge rather than a point (unit: meter)
|
| |
| constexpr float | cDefaultInternalEdgeRemovalVertexToleranceSq = 1.0e-8f |
| | Max squared distance to consider a vertex to be the same as another vertex, used by the internal edge removal algorithm to determine if two edges are shared (unit: meter^2)
|
| |
| constexpr int | cMaxPhysicsJobs = 2048 |
| | Maximum amount of jobs to allow.
|
| |
| constexpr int | cMaxPhysicsBarriers = 8 |
| | Maximum amount of barriers to allow.
|
| |
◆ cCapsuleProjectionSlop
| float cCapsuleProjectionSlop = 0.02f |
|
constexpr |
Used by (Tapered)CapsuleShape to determine when supporting face is an edge rather than a point (unit: meter)
◆ cDefaultCollisionTolerance
If objects are closer than this distance, they are considered to be colliding (used for GJK) (unit: meter)
◆ cDefaultConvexRadius
| float cDefaultConvexRadius = 0.05f |
|
constexpr |
How much padding to add around objects.
◆ cDefaultInternalEdgeRemovalVertexToleranceSq
| float cDefaultInternalEdgeRemovalVertexToleranceSq = 1.0e-8f |
|
constexpr |
Max squared distance to consider a vertex to be the same as another vertex, used by the internal edge removal algorithm to determine if two edges are shared (unit: meter^2)
◆ cDefaultPenetrationTolerance
| float cDefaultPenetrationTolerance = 1.0e-4f |
|
constexpr |
A factor that determines the accuracy of the penetration depth calculation. If the change of the squared distance is less than tolerance * current_penetration_depth^2 the algorithm will terminate. (unit: dimensionless)
Stop when there's less than 1% change
◆ cMaxPhysicsBarriers
| int cMaxPhysicsBarriers = 8 |
|
constexpr |
Maximum amount of barriers to allow.
◆ cMaxPhysicsJobs
| int cMaxPhysicsJobs = 2048 |
|
constexpr |
Maximum amount of jobs to allow.