fix for bug #18898: GE perspective 3D View not working properly (missing LENS)
[blender.git] / source / gameengine / Ketsji / KX_SumoPhysicsController.h
index a684b6378945bc0e4aef02b5c3e8167437495774..278994c6ae750afab9cf6b1a54483e40bed1a062 100644 (file)
@@ -53,7 +53,7 @@ public:
                class SM_Object* sumoObj,       
                class PHY_IMotionState* motionstate
                ,bool dyna) 
-               : KX_IPhysicsController(dyna,false,NULL) ,
+               : KX_IPhysicsController(dyna,false,false,NULL) ,
                  SumoPhysicsController(sumoScene,/*solidscene,*/sumoObj,motionstate,dyna)
        {
        };
@@ -83,14 +83,21 @@ public:
 
        virtual void    getOrientation(MT_Quaternion& orn);
        virtual void setOrientation(const MT_Matrix3x3& orn);
+       virtual void SetTransform() {}
        
        virtual void setPosition(const MT_Point3& pos);
        virtual void setScaling(const MT_Vector3& scaling);
        virtual MT_Scalar       GetMass();
+       virtual void            SetMass(MT_Scalar newmass);
+       virtual MT_Vector3      GetLocalInertia();
        virtual MT_Scalar       GetRadius();
        virtual MT_Vector3      getReactionForce();
        virtual void    setRigidBody(bool rigid);
        
+       virtual float GetLinVelocityMin() { return SumoPhysicsController::GetLinVelocityMin(); }
+       virtual void    SetLinVelocityMin(float val) { SumoPhysicsController::SetLinVelocityMin(val); }
+       virtual float GetLinVelocityMax() { return SumoPhysicsController::GetLinVelocityMax(); }
+       virtual void    SetLinVelocityMax(float val) { SumoPhysicsController::SetLinVelocityMax(val); }
 
        virtual SG_Controller*  GetReplica(class SG_Node* destnode);