PX_MAX_SWEEP_DISTANCE

Defined in include/geometry/PxGeometryQuery.h

PX_MAX_SWEEP_DISTANCE

Maximum sweep distance for scene sweeps.

The distance parameter for sweep functions will be clamped to this value. The reason for this is GJK support cannot be evaluated near infinity. A viable alternative can be a sweep followed by an infinite raycast.

See also

PxScene