| 162 | } |
| 163 | |
| 164 | bool RevoluteJoint::attach(PxPhysics &physics, PxRigidActor* actor0, PxRigidActor* actor1) |
| 165 | { |
| 166 | mPxConstraint = physics.createConstraint(actor0, actor1, *this, sShaders, sizeof(RevoluteJointData)); |
| 167 | return mPxConstraint!=NULL; |
| 168 | } |
| 169 | |
| 170 | void RevoluteJoint::exportExtraData(PxSerializationContext& stream) |
| 171 | { |
no test coverage detected