PxControllerObstacleHit#

Defined in include/characterkinematic/PxController.h

struct PxControllerObstacleHit : public PxControllerHit#

Describes a hit between a CCT and a user-defined obstacle.

Passed to onObstacleHit().

Public Members

const void *userData#
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.