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

Method attach

physx/source/physxextensions/src/ExtD6Joint.cpp:324–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324bool D6Joint::attach(PxPhysics &physics, PxRigidActor* actor0, PxRigidActor* actor1)
325{
326 mPxConstraint = physics.createConstraint(actor0, actor1, *this, sShaders, sizeof(D6JointData));
327 return mPxConstraint!=NULL;
328}
329
330void D6Joint::exportExtraData(PxSerializationContext& stream)
331{

Callers 1

PxD6JointCreateMethod · 0.45

Calls 1

createConstraintMethod · 0.45

Tested by

no test coverage detected