Algorithm to make object move from a Point A to a Point B in a certain speed

前端 未结 0 388
夕颜
夕颜 2020-12-03 10:39

Okay, I actually thought this would be easy to do using trigonometry. This is where I\'ve got to:

moveTowardsPoint = function(point1, point2, speed) {
    let         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题