00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PHYSXCONTROLLERDESC_H
00016 #define PHYSXCONTROLLERDESC_H
00017
00018 #include "pandabase.h"
00019 #include "luse.h"
00020
00021 #include "physx_includes.h"
00022
00023
00024
00025
00026
00027 class EXPCL_PANDAPHYSX PhysxControllerDesc {
00028
00029 PUBLISHED:
00030 virtual void set_to_default() = 0;
00031 virtual bool is_valid() const = 0;
00032
00033 void set_pos(const LPoint3f &pos);
00034 void set_slope_limit(float slopeLimit);
00035 void set_skin_width(float skinWidth);
00036 void set_step_offset(float setpOffset);
00037 void set_interaction_flag(bool interactionFlag);
00038
00039 LPoint3f get_pos() const;
00040 float get_slope_limit() const;
00041 float get_skin_width() const;
00042 float get_step_offset() const;
00043 bool get_interaction_flag() const;
00044
00045 public:
00046 virtual NxControllerDesc *ptr() const = 0;
00047
00048 protected:
00049 INLINE PhysxControllerDesc();
00050 };
00051
00052 #include "physxControllerDesc.I"
00053
00054 #endif // PHYSXCONTROLLERDESC_H