PxCreateStatic

Defined in include/extensions/PxSimpleFactory.h

PxRigidStatic *PxCreateStatic(PxPhysics &sdk, const PxTransform &transform, PxShape &shape)

simple method to create a PxRigidStatic actor with a single PxShape.

See also

PxRigidStatic

Parameters
  • sdk[in] the PxPhysics object

  • transform[in] the global pose of the new object

  • shape[in] the new object’s shape

Returns

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