15 #ifndef PHYSXDISTANCEJOINT_H 16 #define PHYSXDISTANCEJOINT_H 18 #include "pandabase.h" 20 #include "physxJoint.h" 21 #include "physx_includes.h" 34 INLINE ~PhysxDistanceJoint();
41 INLINE NxJoint *ptr()
const {
return (NxJoint *)_ptr; };
43 void link(NxJoint *jointPtr);
47 NxDistanceJoint *_ptr;
54 static void init_type() {
55 PhysxJoint::init_type();
56 register_type(_type_handle,
"PhysxDistanceJoint",
57 PhysxJoint::get_class_type());
60 return get_class_type();
64 return get_class_type();
71 #include "physxDistanceJoint.I" 73 #endif // PHYSXDISTANCEJOINT_H Abstract base class for the different types of joints.
A distance joint maintains a certain distance between two points on two actors.
Descriptor class for distance joint.
TypeHandle is the identifier used to differentiate C++ class types.