15 #ifndef PHYSXPULLEYJOINT_H 16 #define PHYSXPULLEYJOINT_H 18 #include "pandabase.h" 20 #include "physxJoint.h" 21 #include "physx_includes.h" 35 INLINE ~PhysxPulleyJoint();
41 void set_flag(PhysxPulleyJointFlag flag,
bool value);
43 bool get_flag(PhysxPulleyJointFlag flag)
const;
48 INLINE NxJoint *ptr()
const {
return (NxJoint *)_ptr; };
50 void link(NxJoint *jointPtr);
61 static void init_type() {
62 PhysxJoint::init_type();
63 register_type(_type_handle,
"PhysxPulleyJoint",
64 PhysxJoint::get_class_type());
67 return get_class_type();
71 return get_class_type();
78 #include "physxPulleyJoint.I" 80 #endif // PHYSXPULLEYJOINT_H Descriptor class for distance joint.
A pulley joint simulates a rope between two objects passing over two pulleys.
Abstract base class for the different types of joints.
TypeHandle is the identifier used to differentiate C++ class types.