| 322 | } |
| 323 | |
| 324 | bool 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 | |
| 330 | void D6Joint::exportExtraData(PxSerializationContext& stream) |
| 331 | { |
no test coverage detected