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

Method attach

physx/source/physxextensions/src/ExtContactJoint.cpp:114–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool ContactJoint::attach(PxPhysics &physics, PxRigidActor* actor0, PxRigidActor* actor1)
115{
116 mPxConstraint = physics.createConstraint(actor0, actor1, *this, sShaders, sizeof(ContactJointData));
117 return mPxConstraint != NULL;
118}
119
120
121void ContactJoint::exportExtraData(PxSerializationContext& stream)

Callers 1

PxContactJointCreateMethod · 0.45

Calls 1

createConstraintMethod · 0.45

Tested by

no test coverage detected