Rotating around a point, object consistently getting further

前端 未结 0 733
忘掉有多难
忘掉有多难 2021-01-24 09:20

I\'m making a game in Unity, and need an enemy to rotate around a point. I\'m using atan2 to get the direction to the point, adding 90 degrees and then using cos and sin to chan

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