31 #ifndef PX_PHYSICS_EXTENSIONS_SIMPLE_FACTORY_H 32 #define PX_PHYSICS_EXTENSIONS_SIMPLE_FACTORY_H Definition: GuContactBuffer.h:37
PxRigidDynamic * PxCreateDynamic(PxPhysics &sdk, const PxTransform &transform, const PxGeometry &geometry, PxMaterial &material, PxReal density, const PxTransform &shapeOffset=PxTransform(PxIdentity))
simple method to create a PxRigidDynamic actor with a single PxShape.
PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.
Definition: PxRigidDynamic.h:83
PxShape * PxCloneShape(PxPhysics &physicsSDK, const PxShape &shape, bool isExclusive)
create a shape by copying attributes from another shape
PxRigidStatic * PxCreateStatic(PxPhysics &sdk, const PxTransform &transform, const PxGeometry &geometry, PxMaterial &material, const PxTransform &shapeOffset=PxTransform(PxIdentity))
simple method to create a PxRigidStatic actor with a single PxShape.
PxU8 plane[sizeof(PxPlaneGeometry)]
Definition: PxGeometryHelpers.h:219
Abstract class for collision shapes.
Definition: PxShape.h:142
float PxReal
Definition: PxSimpleTypes.h:78
PxRigidStatic * PxCreatePlane(PxPhysics &sdk, const PxPlane &plane, PxMaterial &material)
create a plane actor. The plane equation is n.x + d = 0
Representation of a plane.
Definition: PxPlane.h:50
PxRigidStatic * PxCloneStatic(PxPhysics &physicsSDK, const PxTransform &transform, const PxRigidActor &actor)
create a static body by copying attributes from another rigid actor
A geometry object.
Definition: PxGeometry.h:75
PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...
Definition: PxRigidActor.h:58
void PxScaleRigidActor(PxRigidActor &actor, PxReal scale, bool scaleMassProps=true)
scale a rigid actor by a uniform scale
PxU8 geometry[sizeof(PxGeometry)]
Definition: PxGeometryHelpers.h:215
virtual bool isExclusive() const =0
Returns true if the shape is exclusive to an actor.
PxRigidDynamic * PxCreateKinematic(PxPhysics &sdk, const PxTransform &transform, const PxGeometry &geometry, PxMaterial &material, PxReal density, const PxTransform &shapeOffset=PxTransform(PxIdentity))
simple method to create a kinematic PxRigidDynamic actor with a single PxShape.
Material class to represent a set of surface properties.
Definition: PxMaterial.h:143
PxRigidDynamic * PxCloneDynamic(PxPhysics &physicsSDK, const PxTransform &transform, const PxRigidDynamic &body)
create a dynamic body by copying attributes from an existing body
Abstract singleton factory class used for instancing objects in the Physics SDK.
Definition: PxPhysics.h:71
PxRigidStatic represents a static rigid body simulation object in the physics SDK.
Definition: PxRigidStatic.h:59