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

Method attach

physx/source/physxextensions/src/ExtFixedJoint.cpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79bool FixedJoint::attach(PxPhysics &physics, PxRigidActor* actor0, PxRigidActor* actor1)
80{
81 mPxConstraint = physics.createConstraint(actor0, actor1, *this, sShaders, sizeof(FixedJointData));
82 return mPxConstraint!=NULL;
83}
84
85void FixedJoint::exportExtraData(PxSerializationContext& stream) const
86{

Callers 1

PxFixedJointCreateMethod · 0.45

Calls 1

createConstraintMethod · 0.45

Tested by

no test coverage detected