Find the point on a circle with given center point, radius, and degree

后端 未结 10 1831
后悔当初
后悔当初 2020-12-02 06:57

It\'s been 10 years since I did any math like this... I am programming a game in 2D and moving a player around. As I move the player around I am trying to calculate the poin

10条回答
  •  眼角桃花
    2020-12-02 07:27

    You can use this:

    Equation of circle where

    (x-k)2+(y-v)2=R2

    where k and v is constant and R is radius

提交回复
热议问题