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 int | cMaxPhysicsJobs = 2048 |
| Maximum amount of jobs to allow.
|
|
constexpr int | cMaxPhysicsBarriers = 8 |
| Maximum amount of barriers to allow.
|
|
◆ cDefaultCollisionTolerance
If objects are closer than this distance, they are considered to be colliding (used for GJK) (unit: meter)
◆ cDefaultConvexRadius
constexpr float cDefaultConvexRadius = 0.05f |
|
constexpr |
How much padding to add around objects.
◆ cDefaultPenetrationTolerance
constexpr 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
constexpr int cMaxPhysicsBarriers = 8 |
|
constexpr |
Maximum amount of barriers to allow.
◆ cMaxPhysicsJobs
constexpr int cMaxPhysicsJobs = 2048 |
|
constexpr |
Maximum amount of jobs to allow.