MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / getMaxTranslationLimit

Method getMaxTranslationLimit

src/constraint/SliderJoint.cpp:293–295  ·  view source on GitHub ↗

Return the maximum translation limit * @return The maximum translation limit of the joint (in meters) */

Source from the content-addressed store, hash-verified

291 * @return The maximum translation limit of the joint (in meters)
292 */
293decimal SliderJoint::getMaxTranslationLimit() const {
294 return mWorld.mSliderJointsComponents.getUpperLimit(mEntity);
295}
296
297// Return the force (in Newtons) on body 2 required to satisfy the joint constraint in world-space
298/**

Callers

nothing calls this directly

Calls 1

getUpperLimitMethod · 0.45

Tested by

no test coverage detected