最新回答 / 慕雪9083869
babyObj.prototype.draw = function () { // ctx1 this.x = lerpDistance(mum.x, this.x, 0.98); this.y = lerpDistance(mum.y, this.y, 0.98); //delta angle var deltaY = mum.y - this.y; var deltaX = mum.x - this.x; var beta = Math.atan2(delta...
2017-01-13