Jolt Physics
A multi core friendly Game Physics Engine
|
Go to the source code of this file.
Classes | |
struct | PhysicsSettings |
Variables | |
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. | |
|
constexpr |
If objects are closer than this distance, they are considered to be colliding (used for GJK) (unit: meter)
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