Hello,
So I have a circle and a point rotating on that circle ( prntscr . com/6e7foz ) and when a player press a button to increase that speed . How do I make it rotate exactly on that circle with the speed given ? I have tryed multiple ways on this forum but all of those ecuations had the speed used to determine the location of the point ( when I increased the speed the point would teleport further) (ex. of what I have used prntscr . com/6e7ggn). How can I do it?
Develop games in your browser. Powerful, performant & highly capable.
variable 'rot' = 0
variable 'speed' = X
every tick: Add to 'rot' -> 'speed'
Point.X = sin(rot) * radius
Point.Y = cos(rot) * radius