PxControllersHit

Defined in include/characterkinematic/PxController.h

struct PxControllersHit : public PxControllerHit

Describes a hit between a CCT and another CCT.

Passed to onControllerHit().

See also

PxUserControllerHitReport.onControllerHit()

Public Members

PxController *other

Touched controller.

PxController *controller

Current controller.

PxExtendedVec3 worldPos

Contact position in world space.

PxVec3 worldNormal

Contact normal in world space.

PxVec3 dir

Motion direction.

PxF32 length

Motion length.