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;
Abstract base class for joint descriptors.
Descriptor class for distance joint.
Describes a joint spring.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.