PxTransformFromPlaneEquation

Defined in include/foundation/PxMathUtils.h

PxTransform PxTransformFromPlaneEquation(const PxPlane &plane)

creates a transform from a plane equation, suitable for an actor transform for a PxPlaneGeometry

Parameters

plane[in] the desired plane equation

Returns

a PxTransform which will transform the plane PxPlane(1,0,0,0) to the specified plane