M
M
marsep2015-08-08 11:39:51
Mathematics
marsep, 2015-08-08 11:39:51

How to find out the coordinates of the edge of the circle knowing the initial position, radius and angle?

Hello! Help find a formula to find the coordinates of point B in the figure, knowing the angle towards the point from the center of the circle, the coordinates of the center (may vary) and the radius of the circle. Not good at calculations. You can also take into account the built-in methods of Unity3D (Vector3/Vector2, Quternation...). Thank you very much in advance!
77f1c7d8302a40cbb36f885648194661.png
PS I forgot to correct the angle, initially I drew a temporary value, the correction is 135 degrees relative to Unity3D, but this is not very important. I think the meaning is clear to everyone ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SpyceR, 2015-08-08
@marsep

I didn’t quite understand why you have 180 degrees there, but like this:
y = R*sin(angle)
x = R*cos(angle)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question