00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PHYSXJOINTDRIVEDESC_H
00016 #define PHYSXJOINTDRIVEDESC_H
00017
00018 #include "pandabase.h"
00019
00020 #include "physxEnums.h"
00021 #include "physx_includes.h"
00022
00023
00024
00025
00026
00027
00028 class PhysxJointDriveDesc : public PhysxEnums {
00029
00030 PUBLISHED:
00031 INLINE PhysxJointDriveDesc();
00032 INLINE PhysxJointDriveDesc(float sping, float damping, float forceLimit);
00033 INLINE ~PhysxJointDriveDesc();
00034
00035 void set_drive_type(PhysxD6JointDriveType type);
00036 void set_spring(float spring);
00037 void set_damping(float damping);
00038 void set_force_limit(float limit);
00039
00040 PhysxD6JointDriveType get_drive_type() const;
00041 float get_spring() const;
00042 float get_damping() const;
00043 float get_force_limit() const;
00044
00045 public:
00046 NxJointDriveDesc _desc;
00047 };
00048
00049 #include "physxJointDriveDesc.I"
00050
00051 #endif // PHYSXJOINTDRIVEDESC_H