Friction equation for Verlet intergration..?

Hi,

I have a very basic question. What the best way to calculate friction in an ENTER_FRAME event that moves an objecct using Verlet integration?

For example:

_temporaryX = x;
_temporaryY = y;
_vx = x - _oldX;
_vy = y - _oldY;

_frictionX = ???;
_frictionY = ???;

x += _vx + _accelerationX + _frictionX;
y += _vy + _accelerationY + _frictionY;
_oldX = _temporaryX;
_oldY = _temporaryY;

Any thoughts would be welcome :slight_smile:

Thanks!