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

Method attach

physx/source/physxextensions/src/ExtSphericalJoint.cpp:111–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111bool SphericalJoint::attach(PxPhysics &physics, PxRigidActor* actor0, PxRigidActor* actor1)
112{
113 mPxConstraint = physics.createConstraint(actor0, actor1, *this, sShaders, sizeof(SphericalJointData));
114 return mPxConstraint!=NULL;
115}
116
117void SphericalJoint::exportExtraData(PxSerializationContext& stream)
118{

Callers 1

Calls 1

createConstraintMethod · 0.45

Tested by

no test coverage detected