PxFixedJoint Class Reference
[Extensions]
A fixed joint permits no relative movement between two bodies. ie the bodies are glued together.
More...
#include <PxFixedJoint.h>


Public Member Functions | |
virtual void | setProjectionLinearTolerance (PxReal tolerance)=0 |
Set the linear tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJECTION is set for the joint. | |
virtual PxReal | getProjectionLinearTolerance () const =0 |
Get the linear tolerance threshold for projection. | |
virtual void | setProjectionAngularTolerance (PxReal tolerance)=0 |
Set the angular tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJECTION is set for the joint. | |
virtual PxReal | getProjectionAngularTolerance () const =0 |
Get the angular tolerance threshold for projection. | |
virtual const char * | getConcreteTypeName () const |
returns string name of dynamic type. | |
Static Public Attributes | |
static const PxJointType::Enum | Type = PxJointType::eFIXED |
Protected Member Functions | |
PxFixedJoint (PxRefResolver &v) | |
PxFixedJoint () | |
virtual bool | isKindOf (const char *name) const |
Detailed Description
A fixed joint permits no relative movement between two bodies. ie the bodies are glued together.

- See also:
- PxFixedJointCreate() PxJoint
Constructor & Destructor Documentation
PxFixedJoint::PxFixedJoint | ( | PxRefResolver & | v | ) | [inline, protected] |
PxFixedJoint::PxFixedJoint | ( | ) | [inline, protected] |
Member Function Documentation
virtual const char* PxFixedJoint::getConcreteTypeName | ( | ) | const [inline, virtual] |
returns string name of dynamic type.
- Returns:
- class name of most derived type of this object.
Reimplemented from PxSerializable.
virtual PxReal PxFixedJoint::getProjectionAngularTolerance | ( | ) | const [pure virtual] |
Get the angular tolerance threshold for projection.
- Returns:
- the angular tolerance threshold in radians
- See also:
- setProjectionAngularTolerance()
virtual PxReal PxFixedJoint::getProjectionLinearTolerance | ( | ) | const [pure virtual] |
Get the linear tolerance threshold for projection.
- Returns:
- the linear tolerance threshold
virtual bool PxFixedJoint::isKindOf | ( | const char * | name | ) | const [inline, protected, virtual] |
virtual void PxFixedJoint::setProjectionAngularTolerance | ( | PxReal | tolerance | ) | [pure virtual] |
Set the angular tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJECTION is set for the joint.
If the joint deviates by more than this angle around its locked angular degrees of freedom, the solver will move the bodies to close the angle.
Setting a very small tolerance may result in simulation jitter or other artifacts.
Sometimes it is not possible to project (for example when the joints form a cycle).
Range: [0,Pi]
Default: Pi
- Parameters:
-
[in] tolerance the angular tolerance threshold in radians
virtual void PxFixedJoint::setProjectionLinearTolerance | ( | PxReal | tolerance | ) | [pure virtual] |
Set the linear tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJECTION is set for the joint.
If the joint separates by more than this distance along its locked degrees of freedom, the solver will move the bodies to close the distance.
Setting a very small tolerance may result in simulation jitter or other artifacts.
Sometimes it is not possible to project (for example when the joints form a cycle).
Range: [0,inf)
Default: 1e10f
- Parameters:
-
[in] tolerance the linear tolerance threshold
Member Data Documentation
const PxJointType::Enum PxFixedJoint::Type = PxJointType::eFIXED [static] |
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