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

Method setLimit

physx/source/physxextensions/src/ExtPrismaticJoint.cpp:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void PrismaticJoint::setLimit(const PxJointLinearLimitPair& limit)
106{
107 PX_CHECK_AND_RETURN(limit.isValid(), "PxPrismaticJoint::setLimit: invalid parameter");
108 data().limit = limit;
109 markDirty();
110}
111
112bool PrismaticJoint::attach(PxPhysics &physics, PxRigidActor* actor0, PxRigidActor* actor1)
113{

Callers

nothing calls this directly

Calls 2

markDirtyFunction · 0.85
isValidMethod · 0.45

Tested by

no test coverage detected