14 #ifndef PHYSXREVOLUTEJOINTDESC_H 15 #define PHYSXREVOLUTEJOINTDESC_H 35 INLINE
void set_to_default();
36 INLINE
bool is_valid()
const;
38 void set_projection_distance(
float distance);
39 void set_projection_angle(
float angle);
41 void set_flag(PhysxRevoluteJointFlag flag,
bool value);
45 void set_projection_mode(PhysxProjectionMode mode);
47 float get_projection_distance()
const;
48 float get_projection_angle()
const;
49 bool get_flag(PhysxRevoluteJointFlag flag)
const;
54 PhysxProjectionMode get_projection_mode()
const;
57 NxJointDesc *ptr()
const {
return (NxJointDesc *)&_desc; };
58 NxRevoluteJointDesc _desc;
63 #endif // PHYSXREVOLUTEJOINTDESC_H 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.
Describes a joint spring.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.