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
path: root/source
diff options
context:
space:
mode:
authorJorge Bernal <jbernalmartinez@gmail.com>2015-03-15 13:38:04 +0300
committerJorge Bernal <jbernalmartinez@gmail.com>2015-03-15 13:38:04 +0300
commitdd3ade250ded8c8bb86f68748b19cf5d4ab1b82a (patch)
tree31fbcda813a354067c9eb7113eb67cf2974c6054 /source
parent176ecd9c9ca9fd0d2b28b4690e005f79177ab509 (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.
Diffstat (limited to 'source')
-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