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

Method setSwingLimit

physx/source/physxextensions/src/ExtD6Joint.cpp:214–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214void D6Joint::setSwingLimit(const PxJointLimitCone& l)
215{
216 PX_CHECK_AND_RETURN(l.isValid(), "PxD6Joint::setSwingLimit: limit invalid");
217
218 data().swingLimit = l;
219 data().mUseConeLimit = true;
220 markDirty();
221}
222
223PxTransform D6Joint::getDrivePosition() const
224{

Callers 2

Calls 2

markDirtyFunction · 0.85
isValidMethod · 0.45

Tested by

no test coverage detected