#include <PxJointLimit.h>


| Public Member Functions | |
| PxJointLimitCone (PxReal yLimitAngle, PxReal zLimitAngle, PxReal contactDist=-1) | |
| Construct a cone hard limit. | |
| PxJointLimitCone (PxReal yLimitAngle, PxReal zLimitAngle, const PxSpring &spring) | |
| Construct a cone soft limit. | |
| PX_INLINE bool | isValid () const | 
| Returns true if the limit is valid. | |
| Public Attributes | |
| PxReal | yAngle | 
| the maximum angle from the Y axis of the constraint frame. | |
| PxReal | zAngle | 
| the maximum angle from the Z-axis of the constraint frame. | |
| PxJointLimitCone::PxJointLimitCone | ( | PxReal | yLimitAngle, | |
| PxReal | zLimitAngle, | |||
| PxReal | contactDist = -1 | |||
| ) |  [inline] | 
Construct a cone hard limit.
| [in] | yLimitAngle | the limit angle from the Y-axis of the constraint frame | 
| [in] | zLimitAngle | the limit angle from the Z-axis of the constraint frame | 
| [in] | contactDist | the distance from the limit at which it becomes active. Default is the lesser of 0.1 radians, and 0.49 * the lower of the limit angles | 
References PxJointLimitParameters::contactDistance, and PxMin().
| PxJointLimitCone::PxJointLimitCone | ( | PxReal | yLimitAngle, | |
| PxReal | zLimitAngle, | |||
| const PxSpring & | spring | |||
| ) |  [inline] | 
Construct a cone soft limit.
| [in] | yLimitAngle | the limit angle from the Y-axis of the constraint frame | 
| [in] | zLimitAngle | the limit angle from the Z-axis of the constraint frame | 
| [in] | spring | the stiffness and damping of the limit spring | 
References PxSpring::damping, and PxSpring::stiffness.
| PX_INLINE bool PxJointLimitCone::isValid | ( | ) | const  [inline] | 
Returns true if the limit is valid.
Reimplemented from PxJointLimitParameters.
References PxJointLimitParameters::isValid(), PxIsFinite(), and PxPi.
| PxReal PxJointLimitCone::yAngle | 
the maximum angle from the Y axis of the constraint frame.
Unit: Angular: Radians Range: Angular: (0,PI)
 Default: PI/2 
| PxReal PxJointLimitCone::zAngle | 
the maximum angle from the Z-axis of the constraint frame.
Unit: Angular: Radians Range: Angular: (0,PI)
 Default: PI/2