- Home /

# How can I get a point position in circle line

Positions on the three-dimensional plane are 45 degrees apart on the circle. The positions corresponding to the angles are indicated on the left. What happens to the position of a random angle coming from the central point of the circle in the 3-dimensional plane on the corresponding circle line? As an example, I try to find the position between two specific positions of a random angle that emerges from the 45 degree circular section of the circle I have specified in blue.

I find some are trigger happy to delete a post like this. Frankly, Unity is about graphics, graphics is about math. Yes, this is a simple trig question, but that is fundamental to graphics, so I really take exception to those who would strike a question like this, but then I'm just a visitor here ;)

I'm with JVene. There are other communities out there for specific topics, but one advantage of Unity Answers is that the communityis a familiar one: people working with unity. If you bring general math problems to say math.stackexchange, you're likely to get an answer which doesn't appreciate the unity-context of the question.

Actually you're right. the question I'm asking looks like mathematics, but I want to do this in unity, when I look in mathf documentation I don't understand some methods using I getting confused and I need to know which methods I will use for solve it. I don't want rewrite mathf dictionary :) thanks for be interested

elenzil has it right. There are variations, and it may be a curious factual point to know that the standard from math is that rotations are positive counter clockwise, and zero degrees is a point on the x axis (pointing to the right). It seems odd, as when I was a kid in school I thought it should work like a clock, but the conventions are very old.

**Answer** by elenzil
·
Aug 22, 2018 at 07:26 PM

it looks like your circle is horizontal. in that case,

```
x = cos(theta) * radius + center.x
y = center.y
z = sin(theta) * radius + center.z
```

you might swap x and z if it fits your coordinates better

### Your answer

### Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.