15 #ifndef PHYSXJOINTDRIVEDESC_H 16 #define PHYSXJOINTDRIVEDESC_H 18 #include "pandabase.h" 20 #include "physxEnums.h" 21 #include "physx_includes.h" 32 INLINE PhysxJointDriveDesc(
float sping,
float damping,
float forceLimit);
33 INLINE ~PhysxJointDriveDesc();
35 void set_drive_type(PhysxD6JointDriveType type);
36 void set_spring(
float spring);
37 void set_damping(
float damping);
38 void set_force_limit(
float limit);
40 PhysxD6JointDriveType get_drive_type()
const;
41 float get_spring()
const;
42 float get_damping()
const;
43 float get_force_limit()
const;
46 NxJointDriveDesc _desc;
49 #include "physxJointDriveDesc.I" 51 #endif // PHYSXJOINTDRIVEDESC_H Used to describe drive properties for a PhysxD6Joint.
This class exists just to provide scoping for the enums shared by PhysX classes.