diff options
author | Nick Samarin <nicks1987@bigmir.net> | 2010-06-19 03:48:52 +0400 |
---|---|---|
committer | Nick Samarin <nicks1987@bigmir.net> | 2010-06-19 03:48:52 +0400 |
commit | c92d0dfdf6b6a03726612f426e1f0e506a899f42 (patch) | |
tree | 8780c579fc9d763f1079267427906de32a785419 /source/gameengine/Ketsji/KX_Scene.cpp | |
parent | 700c32e73833205830b062a13270e4a45668cad0 (diff) |
Added:
- obstacle culling for correct simulation in 3d
- flag for steering actuator termination on reaching target
- path recalculation period
- advance by waypoints (for path following)
Diffstat (limited to 'source/gameengine/Ketsji/KX_Scene.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_Scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_Scene.cpp b/source/gameengine/Ketsji/KX_Scene.cpp index 825d9317185..c7398e8e3ee 100644 --- a/source/gameengine/Ketsji/KX_Scene.cpp +++ b/source/gameengine/Ketsji/KX_Scene.cpp @@ -214,7 +214,7 @@ KX_Scene::KX_Scene(class SCA_IInputDevice* keyboarddevice, switch (scene->gm.obstacleSimulation) { case OBSTSIMULATION_TOI: - m_obstacleSimulation = new KX_ObstacleSimulationTOI; + m_obstacleSimulation = new KX_ObstacleSimulationTOI((MT_Scalar)scene->gm.levelHeight); break; default: m_obstacleSimulation = NULL; |