14#ifndef PHYSXPULLEYJOINT_H
15#define PHYSXPULLEYJOINT_H
29class EXPCL_PANDAPHYSX PhysxPulleyJoint :
public PhysxJoint {
32 INLINE PhysxPulleyJoint();
33 INLINE ~PhysxPulleyJoint();
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();
Descriptor class for distance joint.
void set_flag(PhysxPulleyJointFlag flag, bool value)
Sets or clear a single pulley joint flag.
bool get_flag(PhysxPulleyJointFlag flag) const
Retrieves the value of a single PulleyJointFlag.
void load_from_desc(const PhysxPulleyJointDesc &jointDesc)
Loads the entire state of the joint from a descriptor with a single call.
void save_to_desc(PhysxPulleyJointDesc &jointDesc) const
Saves the state of the joint object to a descriptor.
void set_motor(const PhysxMotorDesc &motor)
Sets motor parameters for the joint.
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(),...