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.
This commit is contained in:
Jorge Bernal 2015-03-15 11:38:04 +01:00 committed by Sergey Sharybin
parent 2d1879b714
commit 931f876ddd
1 changed files with 1 additions and 1 deletions

View File

@ -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