30 #ifndef PX_PRISMATICJOINT_H 31 #define PX_PRISMATICJOINT_H 94 virtual PxReal getPosition()
const = 0;
99 virtual PxReal getVelocity()
const = 0;
167 virtual void setProjectionLinearTolerance(
PxReal tolerance) = 0;
176 virtual PxReal getProjectionLinearTolerance()
const = 0;
196 virtual void setProjectionAngularTolerance(
PxReal tolerance) = 0;
203 virtual PxReal getProjectionAngularTolerance()
const = 0;
Definition: GuContactBuffer.h:37
A prismatic joint permits relative translational movement between two bodies along an axis...
Definition: PxPrismaticJoint.h:87
float PxReal
Definition: PxSimpleTypes.h:78
virtual const char * getConcreteTypeName() const
Returns string name of PxPrismaticJoint, used for serialization.
Definition: PxPrismaticJoint.h:208
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxPrismaticJoint.h:226
PxU16 PxType
Definition: PxBase.h:49
PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...
Definition: PxRigidActor.h:58
a base interface providing common functionality for PhysX joints
Definition: PxJoint.h:101
PX_INLINE PxPrismaticJoint(PxType concreteType, PxBaseFlags baseFlags)
Constructor.
Definition: PxPrismaticJoint.h:216
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxJoint.h:376
Describes a two-sided limit.
Definition: PxJointLimit.h:228
PxU16 flags
a set of Px1DConstraintFlags
Definition: PxConstraintDesc.h:110
PxPrismaticJoint * PxPrismaticJointCreate(PxPhysics &physics, PxRigidActor *actor0, const PxTransform &localFrame0, PxRigidActor *actor1, const PxTransform &localFrame1)
Create a prismatic joint.
PxFlags< PxPrismaticJointFlag::Enum, PxU16 > PxPrismaticJointFlags
Definition: PxPrismaticJoint.h:73
Flags specific to the prismatic joint.
Definition: PxPrismaticJoint.h:65
Container for bitfield flag variables associated with a specific enum type.
Definition: PxFlags.h:73
Abstract singleton factory class used for instancing objects in the Physics SDK.
Definition: PxPhysics.h:71
Enum
Definition: PxPrismaticJoint.h:67
PX_INLINE PxPrismaticJoint(PxBaseFlags baseFlags)
Deserialization constructor.
Definition: PxPrismaticJoint.h:221
uint16_t PxU16
Definition: PxSimpleTypes.h:73
#define PX_INLINE
Definition: PxPreprocessor.h:349