14 #ifndef PHYSXPULLEYJOINT_H
15 #define PHYSXPULLEYJOINT_H
39 void set_flag(PhysxPulleyJointFlag flag,
bool value);
41 bool get_flag(PhysxPulleyJointFlag flag)
const;
45 INLINE NxJoint *ptr()
const {
return (NxJoint *)_ptr; };
47 void link(NxJoint *jointPtr);
57 static void init_type() {
58 PhysxJoint::init_type();
60 PhysxJoint::get_class_type());
63 return get_class_type();
67 return get_class_type();
Abstract base class for the different types of joints.
Descriptor class for distance joint.
A pulley joint simulates a rope between two objects passing over two pulleys.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...