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

Method setDrive

physx/source/physxextensions/src/ExtD6Joint.cpp:126–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void D6Joint::setDrive(PxD6Drive::Enum index, const PxD6JointDrive& d)
127{
128 PX_CHECK_AND_RETURN(d.isValid(), "PxD6Joint::setDrive: drive is invalid");
129
130 data().drive[index] = d;
131 mRecomputeMotion = true;
132 markDirty();
133}
134
135void D6Joint::setDistanceLimit(const PxJointLinearLimit& l)
136{

Callers 5

createDampedD6Function · 0.45
createScissorLiftFunction · 0.45
setPxD6Joint_DriveFunction · 0.45
createMethod · 0.45

Calls 2

markDirtyFunction · 0.85
isValidMethod · 0.45

Tested by

no test coverage detected