30 #ifndef PX_REVOLUTEJOINT_H 31 #define PX_REVOLUTEJOINT_H 68 eLIMIT_ENABLED = 1<<0,
69 eDRIVE_ENABLED = 1<<1,
70 eDRIVE_FREESPIN = 1<<2
106 virtual PxReal getAngle()
const = 0;
111 virtual PxReal getVelocity()
const = 0;
154 virtual void setDriveVelocity(
PxReal velocity,
bool autowake =
true) = 0;
163 virtual PxReal getDriveVelocity()
const = 0;
177 virtual void setDriveForceLimit(
PxReal limit) = 0;
186 virtual PxReal getDriveForceLimit()
const = 0;
201 virtual void setDriveGearRatio(
PxReal ratio) = 0;
210 virtual PxReal getDriveGearRatio()
const = 0;
260 virtual void setProjectionLinearTolerance(
PxReal tolerance) = 0;
269 virtual PxReal getProjectionLinearTolerance()
const = 0;
289 virtual void setProjectionAngularTolerance(
PxReal tolerance) = 0;
298 virtual PxReal getProjectionAngularTolerance()
const = 0;
Definition: GuContactBuffer.h:37
PX_INLINE PxRevoluteJoint(PxType concreteType, PxBaseFlags baseFlags)
Constructor.
Definition: PxRevoluteJoint.h:312
virtual const char * getConcreteTypeName() const
Returns string name of PxRevoluteJoint, used for serialization.
Definition: PxRevoluteJoint.h:303
float PxReal
Definition: PxSimpleTypes.h:78
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxRevoluteJoint.h:322
Flags specific to the Revolute Joint.
Definition: PxRevoluteJoint.h:64
Enum
Definition: PxRevoluteJoint.h:66
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
Definition: PxJointLimit.h:295
A joint which behaves in a similar way to a hinge or axle.
Definition: PxRevoluteJoint.h:99
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxJoint.h:376
PxU16 flags
a set of Px1DConstraintFlags
Definition: PxConstraintDesc.h:110
PX_INLINE PxRevoluteJoint(PxBaseFlags baseFlags)
Deserialization constructor.
Definition: PxRevoluteJoint.h:317
PxFlags< PxRevoluteJointFlag::Enum, PxU16 > PxRevoluteJointFlags
Definition: PxRevoluteJoint.h:74
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
uint16_t PxU16
Definition: PxSimpleTypes.h:73
PxRevoluteJoint * PxRevoluteJointCreate(PxPhysics &physics, PxRigidActor *actor0, const PxTransform &localFrame0, PxRigidActor *actor1, const PxTransform &localFrame1)
Create a revolute joint.
#define PX_INLINE
Definition: PxPreprocessor.h:349