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

Method attach

physx/source/physxextensions/src/ExtRevoluteJoint.cpp:164–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164bool RevoluteJoint::attach(PxPhysics &physics, PxRigidActor* actor0, PxRigidActor* actor1)
165{
166 mPxConstraint = physics.createConstraint(actor0, actor1, *this, sShaders, sizeof(RevoluteJointData));
167 return mPxConstraint!=NULL;
168}
169
170void RevoluteJoint::exportExtraData(PxSerializationContext& stream)
171{

Callers 1

PxRevoluteJointCreateMethod · 0.45

Calls 1

createConstraintMethod · 0.45

Tested by

no test coverage detected