How to create an “intercept missile” for a game?

后端 未结 5 797
眼角桃花
眼角桃花 2021-01-31 11:50

I have a game I am working on that has homing missiles in it. At the moment they just turn towards their target, which produces a rather dumb looking result, with all the missil

5条回答
  •  花落未央
    2021-01-31 12:15

    Take a look at OpenSteer. It has code to solve problems like this. Look at 'steerForSeek' or 'steerForPursuit'.

提交回复
热议问题