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
parent 176ecd9c9c
commit dd3ade250d

@ -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)); KX_RasterizerDrawDebugLine(mypos, mypos + newvel, MT_Vector3(0.0, 1.0, 0.0));
} }
HandleActorFace(newvel); HandleActorFace(m_steerVec);
if (isdyna) if (isdyna)
{ {
//TODO: Take into account angular velocity on turns //TODO: Take into account angular velocity on turns