Сообщение от Tek
			 
		
	 | 
	| 
		дык было давно, уже даже сформулировать не могу нормально)
	 | 
	
выдержка из моего скрипта :
{
            zeroPoint: {x: 0, y: 0},
            interpolateCoords: function (directionRad, moveDelta, moveProgress, fromPoint) {
                var x = GameObject.interpolateX(directionRad, moveDelta.x, moveProgress, fromPoint.x);
                var y = GameObject.interpolateY(directionRad, moveDelta.y, moveProgress, fromPoint.y);
                return { x: x, y: y };
            },
            interpolateX: function (directionRad, delta, progr, from) {
                return Math.cos(directionRad) * delta * progr + from;
            },
            interpolateY: function (directionRad, delta, progr, from) {
                return Math.sin(directionRad) * delta * progr + from;
            }
        }