PxCreatePlane

Defined in include/extensions/PxSimpleFactory.h

PxRigidStatic *PxCreatePlane(PxPhysics &sdk, const PxPlane &plane, PxMaterial &material)

create a plane actor.

The plane equation is n.x + d = 0

See also

PxRigidStatic

Parameters
  • sdk[in] the PxPhysics object

  • plane[in] a plane of the form n.x + d = 0

  • material[in] the material for the new object’s shape

Returns

a new static actor, or NULL if it could not be constructed