29#ifndef PX_RIGID_ACTOR_H
30#define PX_RIGID_ACTOR_H
190 virtual PxU32
getShapes(
PxShape** userBuffer, PxU32 bufferSize, PxU32 startIndex=0)
const = 0;
226 virtual ~PxRigidActor() {}
PxActor is the base class for the main simulation objects in the physics SDK.
Definition PxActor.h:201
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxActor.h:368
A plugin class for implementing constraints.
Definition PxConstraint.h:100
PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...
Definition PxRigidActor.h:53
virtual PxU32 getInternalActorIndex() const =0
Returns the internal actor index.
virtual void detachShape(PxShape &shape, bool wakeOnLostTouch=true)=0
Detach a shape from an actor.
virtual bool attachShape(PxShape &shape)=0
Attach a shape to an actor.
virtual void setGlobalPose(const PxTransform &pose, bool autowake=true)=0
Method for setting an actor's pose in the world.
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxRigidActor.h:227
virtual PxU32 getShapes(PxShape **userBuffer, PxU32 bufferSize, PxU32 startIndex=0) const =0
Retrieve all the shape pointers belonging to the actor.
virtual PxU32 getNbShapes() const =0
Returns the number of shapes assigned to the actor.
virtual PxU32 getNbConstraints() const =0
Returns the number of constraint shaders attached to the actor.
virtual void release()=0
Deletes the rigid actor object.
virtual PxU32 getConstraints(PxConstraint **userBuffer, PxU32 bufferSize, PxU32 startIndex=0) const =0
Retrieve all the constraint shader pointers belonging to the actor.
virtual PxTransform getGlobalPose() const =0
Retrieves the actors world space transform.
Abstract class for collision shapes.
Definition PxShape.h:146
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39