PhysX SDK 3.2 API Reference: PxJointLimitCone Class Reference

PhysX SDK 3.2 API

PxJointLimitCone Class Reference
[Extensions]

Describes an elliptical conical joint limit. Note that very small or highly elliptical limit cones may result in jitter. More...

#include <PxJointLimit.h>

Inheritance diagram for PxJointLimitCone:
Collaboration diagram for PxJointLimitCone:

List of all members.


Public Member Functions

 PxJointLimitCone (PxReal yLimitAngle, PxReal zLimitAngle, PxReal limitContactDistance)
 Construct a cone limit pair.
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.

Detailed Description

Describes an elliptical conical joint limit. Note that very small or highly elliptical limit cones may result in jitter.

Platform:

See also:
PxD6Joint PxSphericalJoint

Constructor & Destructor Documentation

PxJointLimitCone::PxJointLimitCone ( PxReal  yLimitAngle,
PxReal  zLimitAngle,
PxReal  limitContactDistance 
) [inline]

Construct a cone limit pair.

Parameters:
[in] yLimitAngle the limit angle from the Y-axis of the constraint fram
[in] zLimitAngle the limit angle from the Z-axis of the constraint frame
[in] limitContactDistance the distance from the upper or lower limit at which the limit constraint becomes active.
See also:
PxJointLimitParameters


Member Function Documentation

PX_INLINE bool PxJointLimitCone::isValid (  )  const [inline]

Returns true if the limit is valid.

Returns:
true if the current settings are valid

Reimplemented from PxJointLimitParameters.

References PxJointLimitParameters::isValid(), PxIsFinite(), and PxPi.


Member Data Documentation

the maximum angle from the Y axis of the constraint frame.

Unit: Angular: Radians Range: Angular: (0,PI)
Default: PI/2

the maximum angle from the Z-axis of the constraint frame.

Unit: Angular: Radians Range: Angular: (0,PI)
Default: PI/2


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



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