15 #ifndef PHYSXSPHERICALJOINTDESC_H 16 #define PHYSXSPHERICALJOINTDESC_H 18 #include "pandabase.h" 20 #include "physxJointDesc.h" 21 #include "physx_includes.h" 35 INLINE ~PhysxSphericalJointDesc();
37 INLINE
void set_to_default();
38 INLINE
bool is_valid()
const;
40 void set_projection_distance(
float distance);
41 void set_flag(PhysxSphericalJointFlag flag,
bool value);
42 void set_swing_axis(
const LVector3f &axis);
49 void set_projection_mode(PhysxProjectionMode mode);
51 float get_projection_distance()
const;
52 bool get_flag(PhysxSphericalJointFlag flag)
const;
60 PhysxProjectionMode get_projection_mode()
const;
63 NxJointDesc *ptr()
const {
return (NxJointDesc *)&_desc; };
64 NxSphericalJointDesc _desc;
67 #include "physxSphericalJointDesc.I" 69 #endif // PHYSXSPHERICALJOINTDESC_H This is a three-component vector distance (as opposed to a three-component point, which represents a ...
Abstract base class for joint descriptors.
Describes a joint spring.
Descriptor class for distance joint.