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

Function setupLinearLimit

physx/source/physxextensions/src/ExtD6Joint.cpp:867–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867static void setupLinearLimit(joint::ConstraintHelper& ch, const PxJointLinearLimitPair& limit, const float origin, const PxVec3& axis)
868{
869 ch.linearLimit(axis, origin, limit.upper, limit);
870 ch.linearLimit(-axis, -origin, -limit.lower, limit);
871}
872
873static PxU32 D6JointSolverPrep(Px1DConstraint* constraints,
874 PxVec3& body0WorldOffset,

Callers 1

D6JointSolverPrepFunction · 0.85

Calls 1

linearLimitMethod · 0.80

Tested by

no test coverage detected