RavEngine
Loading...
Searching...
No Matches
physx::PxArticulationLimit Struct Reference

Data structure to set articulation joint limits. More...

#include <PxSolverDefs.h>

Public Member Functions

 PxArticulationLimit (const PxReal low_, const PxReal high_)
 

Public Attributes

PxReal low
 The lower limit on the joint axis position.
 
PxReal high
 The higher limit on the joint axis position.
 

Detailed Description

Data structure to set articulation joint limits.

  • The lower limit should be strictly smaller than the higher limit. If the limits should be equal, use PxArticulationMotion::eLOCKED and an appropriate offset in the parent/child joint frames.
  • The limit units are linear units (equivalent to scene units) for a translational axis, or radians for a rotational axis.
See also
PxArticulationJointReducedCoordinate::setLimitParams, PxArticulationReducedCoordinate

Member Data Documentation

◆ high

PxReal physx::PxArticulationLimit::high

The higher limit on the joint axis position.

Range: (low, PX_MAX_F32]
Default: 0.0f

◆ low

PxReal physx::PxArticulationLimit::low

The lower limit on the joint axis position.

Range: [-PX_MAX_F32, high)
Default: 0.0f


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