15 #ifndef PHYSXREVOLUTEJOINTDESC_H 16 #define PHYSXREVOLUTEJOINTDESC_H 18 #include "pandabase.h" 20 #include "physxJointDesc.h" 21 #include "physx_includes.h" 36 INLINE ~PhysxRevoluteJointDesc();
38 INLINE
void set_to_default();
39 INLINE
bool is_valid()
const;
41 void set_projection_distance(
float distance);
42 void set_projection_angle(
float angle);
44 void set_flag(PhysxRevoluteJointFlag flag,
bool value);
48 void set_projection_mode(PhysxProjectionMode mode);
50 float get_projection_distance()
const;
51 float get_projection_angle()
const;
52 bool get_flag(PhysxRevoluteJointFlag flag)
const;
57 PhysxProjectionMode get_projection_mode()
const;
60 NxJointDesc *ptr()
const {
return (NxJointDesc *)&_desc; };
61 NxRevoluteJointDesc _desc;
64 #include "physxRevoluteJointDesc.I" 66 #endif // PHYSXREVOLUTEJOINTDESC_H Descriptor class for distance joint.
Abstract base class for joint descriptors.
Describes a joint spring.