enable bullet for vc7 too by default (can be switched off easily)
[blender.git] / source / gameengine / Ketsji / KX_OdePhysicsController.cpp
index ece08975f4f8527dc477d36f632f1d3d29730166..58c04d34149b239b9dc6d2fe20765f1cba506059 100644 (file)
  *
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
+#include "KX_ConvertPhysicsObject.h"
+
+#ifdef USE_ODE
+
 #include "KX_OdePhysicsController.h"
 #include "KX_GameObject.h"
 #include "KX_MotionState.h"
 
+#include "MT_assert.h"
+
+#include "PHY_IPhysicsEnvironment.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 KX_OdePhysicsController::KX_OdePhysicsController(
                                                                                                 bool dyna,
@@ -59,7 +70,7 @@ void                  KX_OdePhysicsController::SetObject (SG_IObject* object)
 
        // cheating here...
        KX_GameObject* gameobj = (KX_GameObject*)       object->GetSGClientObject();
-       gameobj->m_pPhysicsController1 = this;
+       gameobj->SetPhysicsController(this);
        
 }
 
@@ -222,6 +233,9 @@ SG_Controller*      KX_OdePhysicsController::GetReplica(class SG_Node* destnode)
        
 }
 
+void           KX_OdePhysicsController::resolveCombinedVelocities(float linvelX,float linvelY,float linvelZ,float angVelX,float angVelY,float angVelZ)
+{
+}
 
        
 void   KX_OdePhysicsController::SetSumoTransform(bool nondynaonly)
@@ -234,3 +248,4 @@ void        KX_OdePhysicsController::SetSimulatedTime(double time)
 
 }
        
+#endif //USE_ODE