forked from bartvdbraak/blender
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:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user