Hi dug :)
you use a single friction value for a tire.
you should add a lateralFriction value.
so you may use "friction" for the torque force and "lateralFriction" for
steering force.
so inside the carbody update you should have:
const tireFric:Number = tire.friction * frictionMultiplier;
var fricForce:Number = tireFric * tireLoad;
and also
const latTireFric:Number = tire.lateralFriction * frictionMultiplier;
var latFricForce:Number = latTireFric* tireLoad;
then you should change the lateral component of the tire speed
from:
if ( force > fricForce)
{
tire._isSkidding = true;
force = fricForce;
}
to:
if ( force > latFricForce)
{
tire._isSkidding = true;
force = latFricForce;
}
a wheel got a different friction, and generally the longitudinal << lateral.
Original issue reported on code.google.com by magi...@gmail.com on 28 Aug 2011 at 10:17
Original issue reported on code.google.com by
magi...@gmail.com
on 28 Aug 2011 at 10:17