aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Include/PxArticulationJoint.h
diff options
context:
space:
mode:
authorsschirm <[email protected]>2017-02-27 16:40:12 +0100
committersschirm <[email protected]>2017-03-01 18:04:26 +0100
commit7840347c32755e94a807f978f1cbb558717ac8cf (patch)
tree295cd3ca93a45f8fcc43cf3cbf3887c0e0c5526b /PhysX_3.4/Include/PxArticulationJoint.h
parentPre-release comments marking end of beta. (diff)
downloadphysx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.tar.xz
physx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.zip
PhysX 3.4, APEX 1.4 final release @21757769v3.4.0-rc-2
Diffstat (limited to 'PhysX_3.4/Include/PxArticulationJoint.h')
-rw-r--r--PhysX_3.4/Include/PxArticulationJoint.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/PhysX_3.4/Include/PxArticulationJoint.h b/PhysX_3.4/Include/PxArticulationJoint.h
index b65270c2..4742cd5f 100644
--- a/PhysX_3.4/Include/PxArticulationJoint.h
+++ b/PhysX_3.4/Include/PxArticulationJoint.h
@@ -303,24 +303,27 @@ public:
Note that very small or highly elliptical limit cones may result in jitter.
- \param[in] yLimit the allowed extent of rotation around the y-axis
\param[in] zLimit the allowed extent of rotation around the z-axis
+ \param[in] yLimit the allowed extent of rotation around the y-axis
<b> Range:</b> ( (0, Pi), (0, Pi) )
<b> Default:</b> (Pi/4, Pi/4)
- */
- virtual void setSwingLimit(PxReal yLimit, PxReal zLimit) = 0;
+ \note Please note the order of zLimit and yLimit.
+ */
+ virtual void setSwingLimit(PxReal zLimit, PxReal yLimit) = 0;
/**
\brief get the extents for the swing limit cone
-
- \param[out] yLimit the allowed extent of rotation around the y-axis
+
\param[out] zLimit the allowed extent of rotation around the z-axis
+ \param[out] yLimit the allowed extent of rotation around the y-axis
+
+ \note Please note the order of zLimit and yLimit.
@see setSwingLimit()
*/
- virtual void getSwingLimit(PxReal &yLimit, PxReal &zLimit) const = 0;
+ virtual void getSwingLimit(PxReal& zLimit, PxReal& yLimit) const = 0;