Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Bernal <jbernalmartinez@gmail.com>2015-03-15 13:38:04 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-03-17 13:49:21 +0300
commit931f876dddb6b284f3993567b05478e86df64b26 (patch)
treecf9998a478b750aa58a4ffd46feb350790a88de0
parent2d1879b7145dd71d84f403791093fbca47775d6d (diff)
BGE: Fix for T43994 Steering actuator bug with Navmesh
Now the facing option is taken into account as before This is a regression and to be ported to the final release branch.
-rw-r--r--source/gameengine/Ketsji/KX_SteeringActuator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_SteeringActuator.cpp b/source/gameengine/Ketsji/KX_SteeringActuator.cpp
index 10d4273a2b4..f859b1ceae9 100644
--- a/source/gameengine/Ketsji/KX_SteeringActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SteeringActuator.cpp
@@ -281,7 +281,7 @@ bool KX_SteeringActuator::Update(double curtime, bool frame)
KX_RasterizerDrawDebugLine(mypos, mypos + newvel, MT_Vector3(0.0, 1.0, 0.0));
}
- HandleActorFace(newvel);
+ HandleActorFace(m_steerVec);
if (isdyna)
{
//TODO: Take into account angular velocity on turns