PxD6JointDrive Class Reference
[Extensions]

parameters for configuring the drive model of a PxD6Joint More...

#include <PxD6Joint.h>

Inheritance diagram for PxD6JointDrive:

Inheritance graph
PxSpring
[legend]
Collaboration diagram for PxD6JointDrive:

Collaboration graph
PxSpringPxFlags\< PxD6JointDriveFlag::Enum, PxU32 \>
[legend]

List of all members.

Public Member Functions

 PxD6JointDrive ()
 default constructor for PxD6JointDrive.
 PxD6JointDrive (PxReal driveStiffness, PxReal driveDamping, PxReal driveForceLimit, bool isAcceleration=false)
 constructor a PxD6JointDrive.
bool isValid () const
 returns true if the drive is valid

Public Attributes

PxReal forceLimit
 the force limit of the drive - may be an impulse or a force depending on PxConstraintFlag::eDRIVE_LIMITS_ARE_FORCES
PxD6JointDriveFlags flags
 the joint drive flags


Detailed Description

parameters for configuring the drive model of a PxD6Joint

See also:
PxD6Joint

Constructor & Destructor Documentation

PxD6JointDrive::PxD6JointDrive (  )  [inline]

default constructor for PxD6JointDrive.

PxD6JointDrive::PxD6JointDrive ( PxReal  driveStiffness,
PxReal  driveDamping,
PxReal  driveForceLimit,
bool  isAcceleration = false 
) [inline]

constructor a PxD6JointDrive.

Parameters:
[in] driveStiffness the stiffness of the drive spring.
[in] driveDamping the damping of the drive spring
[in] driveForceLimit the maximum impulse or force that can be exerted by the drive
[in] isAcceleration whether the drive is an acceleration drive or a force drive


Member Function Documentation

bool PxD6JointDrive::isValid (  )  const [inline]

returns true if the drive is valid

References PxIsFinite().


Member Data Documentation

the joint drive flags

the force limit of the drive - may be an impulse or a force depending on PxConstraintFlag::eDRIVE_LIMITS_ARE_FORCES


The documentation for this class was generated from the following file:


Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com