diff options
Diffstat (limited to 'source/gameengine/Ketsji/KX_VehicleWrapper.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_VehicleWrapper.h | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/source/gameengine/Ketsji/KX_VehicleWrapper.h b/source/gameengine/Ketsji/KX_VehicleWrapper.h deleted file mode 100644 index 259ca7cc1ba..00000000000 --- a/source/gameengine/Ketsji/KX_VehicleWrapper.h +++ /dev/null @@ -1,61 +0,0 @@ - -/** \file KX_VehicleWrapper.h - * \ingroup ketsji - */ - -#ifndef __KX_VEHICLEWRAPPER_H__ -#define __KX_VEHICLEWRAPPER_H__ - -#include "EXP_Value.h" -class PHY_IVehicle; -class PHY_IMotionState; - -#include <vector> - -///Python interface to physics vehicles (primarily 4-wheel cars and 2wheel bikes) -class KX_VehicleWrapper : public PyObjectPlus -{ - Py_Header - - std::vector<PHY_IMotionState*> m_motionStates; - -public: - KX_VehicleWrapper(PHY_IVehicle* vehicle,class PHY_IPhysicsEnvironment* physenv); - virtual ~KX_VehicleWrapper (); - int getConstraintId(); - -#ifdef WITH_PYTHON - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,AddWheel); - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetNumWheels); - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetWheelOrientationQuaternion); - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetWheelRotation); - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetWheelPosition); - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetConstraintId); - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetConstraintType); - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetSteeringValue); - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,ApplyEngineForce); - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,ApplyBraking); - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetTyreFriction); - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetSuspensionStiffness); - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetSuspensionDamping); - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetSuspensionCompression); - - KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetRollInfluence); -#endif /* WITH_PYTHON */ - -private: - PHY_IVehicle* m_vehicle; - PHY_IPhysicsEnvironment* m_physenv; -}; - -#endif /* __KX_VEHICLEWRAPPER_H__ */ |