Jump to content
• Advertisement

# Finding the X and Y position on a Circle

This topic is 3499 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

## Recommended Posts

i am having a little trouble finding the X and Y positon on a Circle, the centre of the circle is 256 x and 256 y the radius of the circle is 150 i have 3 points i need to work out the 1st is p0 = 256x 256y the 2nd is p1 = 256x 406y the 3rd is p2 = ?x ?y the angle between p1 and p2 = 45 degrees does anyone know howi can work out the x and y of p2?

#### Share this post

##### Share on other sites
Advertisement
x = x_center + cos(alpha)*radius = 362.06601717798212866
y = y_center + sin(alpha)*radius = 362.06601717798212866

Remember that you should express alpha in radians.

#### Share this post

##### Share on other sites

• Advertisement
• Advertisement

• ### Popular Contributors

1. 1
2. 2
Rutin
19
3. 3
4. 4
khawk
15
5. 5
• Advertisement

• 13
• 26
• 10
• 11
• 44
• ### Forum Statistics

• Total Topics
633743
• Total Posts
3013644
×

## Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!