14 #ifndef PHYSXPULLEYJOINTDESC_H 15 #define PHYSXPULLEYJOINTDESC_H 33 INLINE
void set_to_default();
34 INLINE
bool is_valid()
const;
36 void set_distance(
float distance);
37 void set_stiffness(
float stiffness);
38 void set_ratio(
float ration);
39 void set_pulley(
unsigned int idx,
const LPoint3f pos);
41 void set_flag(PhysxPulleyJointFlag flag,
bool value);
43 float get_distance()
const;
44 float get_stiffness()
const;
45 float get_ratio()
const;
46 bool get_flag(PhysxPulleyJointFlag flag)
const;
47 LPoint3f get_pulley(
unsigned int idx)
const;
51 NxJointDesc *ptr()
const {
return (NxJointDesc *)&_desc; };
52 NxPulleyJointDesc _desc;
57 #endif // PHYSXPULLEYJOINTDESC_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Descriptor class for distance joint.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for joint descriptors.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.