From dd3ade250ded8c8bb86f68748b19cf5d4ab1b82a Mon Sep 17 00:00:00 2001 From: Jorge Bernal Date: Sun, 15 Mar 2015 11:38:04 +0100 Subject: 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. --- source/gameengine/Ketsji/KX_SteeringActuator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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 -- cgit v1.2.3