| 109 | } |
| 110 | |
| 111 | bool 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 | |
| 117 | void SphericalJoint::exportExtraData(PxSerializationContext& stream) |
| 118 | { |
no test coverage detected