MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / setMaxDistance

Method setMaxDistance

physx/source/physxextensions/src/ExtDistanceJoint.cpp:70–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void DistanceJoint::setMaxDistance(PxReal distance)
71{
72 PX_CHECK_AND_RETURN(PxIsFinite(distance), "PxDistanceJoint::setMaxDistance: invalid parameter");
73 data().maxDistance = distance;
74 markDirty();
75}
76
77PxReal DistanceJoint::getMaxDistance() const
78{

Callers 6

createLegMethod · 0.80
createSeamineMethod · 0.80
grabActorMethod · 0.80
createLegMethod · 0.80

Calls 2

PxIsFiniteFunction · 0.85
markDirtyFunction · 0.85

Tested by

no test coverage detected