172 :
PxSpring(driveStiffness, driveDamping)
173 , forceLimit(driveForceLimit)
256 virtual PxReal getTwistAngle()
const = 0;
268 virtual PxReal getSwingYAngle()
const = 0;
273 virtual PxReal getSwingZAngle()
const = 0;
436 virtual void setDrivePosition(
const PxTransform& pose,
bool autowake =
true) = 0;
456 virtual void setDriveVelocity(
const PxVec3& linear,
const PxVec3& angular,
bool autowake =
true) = 0;
466 virtual void getDriveVelocity(
PxVec3& linear,
PxVec3& angular)
const = 0;
486 virtual void setProjectionLinearTolerance(
PxReal tolerance) = 0;
495 virtual PxReal getProjectionLinearTolerance()
const = 0;
518 virtual void setProjectionAngularTolerance(
PxReal tolerance) = 0;
527 virtual PxReal getProjectionAngularTolerance()
const = 0;
Definition: GuContactBuffer.h:37
PxD6JointDrive(PxReal driveStiffness, PxReal driveDamping, PxReal driveForceLimit, bool isAcceleration=false)
constructor a PxD6JointDrive.
Definition: PxD6Joint.h:171
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxD6Joint.h:551
PX_DEPRECATED PX_FORCE_INLINE void setLinearLimit(const PxJointLinearLimit &limit)
Definition: PxD6Joint.h:300
Enum
Definition: PxD6Joint.h:87
PxD6Joint * PxD6JointCreate(PxPhysics &physics, PxRigidActor *actor0, const PxTransform &localFrame0, PxRigidActor *actor1, const PxTransform &localFrame1)
Create a D6 joint.
flags for configuring the drive model of a PxD6Joint
Definition: PxD6Joint.h:130
Enum
Definition: PxD6Joint.h:113
parameters for configuring the drive model of a PxD6Joint
Definition: PxD6Joint.h:145
#define PX_FORCE_INLINE
Definition: PxPreprocessor.h:364
float PxReal
Definition: PxSimpleTypes.h:78
The DOF is limited, it only allows motion within a specific range.
Definition: PxD6Joint.h:90
Enum
Definition: PxD6Joint.h:67
Describes a one-sided linear limit.
Definition: PxJointLimit.h:165
Used to specify which axes of a D6 joint are driven.
Definition: PxD6Joint.h:111
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
PxReal stiffness
spring parameter, for spring constraints
Definition: PxConstraintDesc.h:99
PX_DEPRECATED PX_FORCE_INLINE PxJointLinearLimit getLinearLimit() const
Definition: PxD6Joint.h:305
a base interface providing common functionality for PhysX joints
Definition: PxJoint.h:101
#define PX_DEPRECATED
Definition: PxPreprocessor.h:437
Definition: PxJointLimit.h:295
PxReal forceLimit
the force limit of the drive - may be an impulse or a force depending on PxConstraintFlag::eDRIVE_LIM...
Definition: PxD6Joint.h:155
The DOF is locked, it does not allow relative motion.
Definition: PxD6Joint.h:89
Enum
Definition: PxD6Joint.h:132
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 pyramidal joint limit.
Definition: PxJointLimit.h:448
Describes a two-sided limit.
Definition: PxJointLimit.h:228
PxU16 flags
a set of Px1DConstraintFlags
Definition: PxConstraintDesc.h:110
Definition: PxJoint.h:381
#define PX_MAX_F32
Definition: PxSimpleTypes.h:86
PxFlags< PxD6JointDriveFlag::Enum, PxU32 > PxD6JointDriveFlags
Definition: PxD6Joint.h:137
PxReal damping
damping parameter, for spring constraints
Definition: PxConstraintDesc.h:100
PxD6JointDriveFlags flags
the joint drive flags
Definition: PxD6Joint.h:156
Used to specify the range of motions allowed for a degree of freedom in a D6 joint.
Definition: PxD6Joint.h:85
Used to specify one of the degrees of freedom of a D6 joint.
Definition: PxD6Joint.h:65
virtual const char * getConcreteTypeName() const
Returns string name of PxD6Joint, used for serialization.
Definition: PxD6Joint.h:532
PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxIsFinite(float f)
returns true if the passed number is a finite floating point number as opposed to INF...
Definition: PxMath.h:292
PX_INLINE PxD6Joint(PxBaseFlags baseFlags)
Deserialization constructor.
Definition: PxD6Joint.h:546
Describes an elliptical conical joint limit. Note that very small or highly elliptical limit cones ma...
Definition: PxJointLimit.h:369
PX_INLINE PxD6Joint(PxType concreteType, PxBaseFlags baseFlags)
Constructor.
Definition: PxD6Joint.h:541
PX_DEPRECATED PX_FORCE_INLINE PxReal getTwist() const
get the twist angle of the joint
Definition: PxD6Joint.h:263
Abstract singleton factory class used for instancing objects in the Physics SDK.
Definition: PxPhysics.h:71
PxD6JointDrive()
default constructor for PxD6JointDrive.
Definition: PxD6Joint.h:161
uint32_t PxU32
Definition: Px.h:48
bool isValid() const
returns true if the drive is valid
Definition: PxD6Joint.h:180
#define PX_INLINE
Definition: PxPreprocessor.h:349
3 Element vector class.
Definition: PxVec3.h:49
A D6 joint is a general constraint between two actors.
Definition: PxD6Joint.h:224