First checkin of core ODE functionality. See OdePhysicsController.cpp for a todo list.

This commit is contained in:
Norman Lin
2002-10-18 14:36:34 +00:00
parent 40a078a36d
commit 1b15961786
11 changed files with 49 additions and 25 deletions

View File

@@ -31,6 +31,7 @@
*/
#pragma warning (disable : 4786)
// defines USE_ODE to choose physics engine
#include "KX_ConvertPhysicsObject.h"
#include "KX_GameObject.h"
#include "RAS_MeshObject.h"
@@ -50,11 +51,11 @@
#ifdef USE_ODE
#include "KX_OdePhysicsController.h"
#include "odephysicsenvironment.h"
#include "OdePhysicsEnvironment.h"
#endif //USE_ODE
// USE_SUMO_SOLID is defined in headerfile KX_ConvertPhysicsObjects.h
// USE_SUMO_SOLID is defined in headerfile KX_ConvertPhysicsObject.h
#ifdef USE_SUMO_SOLID
@@ -235,7 +236,7 @@ void KX_ConvertSumoObject( class KX_GameObject* gameobj,
// physics object get updated here !
// lazy evaluation because Havok doesn't support scaling !gameobj->UpdateTransform();
// lazy evaluation because we might not support scaling !gameobj->UpdateTransform();
if (objprop->m_in_active_layer && sumoObj)
{