22 void PhysxPrismaticJoint::
23 link(NxJoint *jointPtr) {
25 _ptr = jointPtr->isPrismaticJoint();
26 _ptr->userData =
this;
32 scene->_joints.add(
this);
38 void PhysxPrismaticJoint::
41 _ptr->userData =
nullptr;
42 _error_type = ET_released;
45 scene->_joints.remove(
this);
54 nassertv(_error_type == ET_ok);
55 _ptr->saveToDesc(jointDesc._desc);
64 nassertv(_error_type == ET_ok);
65 _ptr->loadFromDesc(jointDesc._desc);