what i mean here is i want an object to move in the direction of a given angle, using coordinate translations, for a custom movement, now i have been developing something similar to this but i havnt gotten everything, its basically a formula which you input an angle and it returns to you scaled values so it will still move 1pxl per second, but in the angle of the given angle, meaning 45 would return to you something like 0.7y 0.7x understand (seperately of course)? then you scale your value according to those given numbers by multiplying them by it.

i was just wondering if this existed already, because i made this all by myself but im sure some 1700's mathematician has already done it lol. so is there a way?

what you want are actually the sin and cos functions themselves!

they go from -1 to 1 like the picture above, if you plot X=cosA and Y=sinA for every value of A, it will give you a circle with radius 1.

so if the angle is 0, (you're going horizontally to the right) cos(angle) gives 1, and sin angle gives 0, so you'll be moving 1 to the right. if angle is 90 (vertical) sin(angle) gives 1, and you're Y will be moving correctly.

It's tempting to make a trigonometry 101 page for the wiki, though I've been doing it for so long I don't know what it's like for someone who's never learnt it .

[quote:kgmy9vbb]i was just wondering if this existed already, because i made this all by myself but im sure some 1700's mathematician has already done it lol. so is there a way?