Announcement
Collapse
No announcement yet.
Pie Menu/Inventory
Collapse
X
-
Originally posted by Raildex_ View PostUse basic trigonometry to arrange symbols in a circle:
alpha = (PI*2)/numOfItems
x = sin(alpha*i)*radius;
y = cos(alpha*i)*radius;
The rest of it is Material that draws a colour in a certain angle with an outer and an inner circle given.
alpha = (PI*2)/8
alpha=.7853
x=sin(.7852*?)*300
y=cos(.7852*?)*300
so what is I? also doesnt that just put them all in the same position? or is that where I comes in?Last edited by dka13; 01-02-2017, 01:20 PM.
Comment
Comment