14 #ifndef PHYSXSPHERICALJOINTDESC_H 15 #define PHYSXSPHERICALJOINTDESC_H 34 INLINE
void set_to_default();
35 INLINE
bool is_valid()
const;
37 void set_projection_distance(
float distance);
38 void set_flag(PhysxSphericalJointFlag flag,
bool value);
39 void set_swing_axis(
const LVector3f &axis);
46 void set_projection_mode(PhysxProjectionMode mode);
48 float get_projection_distance()
const;
49 bool get_flag(PhysxSphericalJointFlag flag)
const;
50 LVector3f get_swing_axis()
const;
57 PhysxProjectionMode get_projection_mode()
const;
60 NxJointDesc *ptr()
const {
return (NxJointDesc *)&_desc; };
61 NxSphericalJointDesc _desc;
66 #endif // PHYSXSPHERICALJOINTDESC_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
Descriptor class for distance joint.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.