14 #ifndef PHYSXDISTANCEJOINTDESC_H 15 #define PHYSXDISTANCEJOINTDESC_H 33 INLINE
void set_to_default();
34 INLINE
bool is_valid()
const;
36 void set_max_distance(
float distance);
37 void set_min_distance(
float distance);
39 void set_flag(PhysxDistanceJointFlag flag,
bool value);
41 float get_max_distance()
const;
42 float get_min_distance()
const;
43 bool get_flag(PhysxDistanceJointFlag flag)
const;
47 NxJointDesc *ptr()
const {
return (NxJointDesc *)&_desc; };
48 NxDistanceJointDesc _desc;
53 #endif // PHYSXDISTANCEJOINTDESC_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Descriptor class for distance joint.
Abstract base class for joint descriptors.
Describes a joint spring.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.