How to change the "end" of a circle

I have this radial menu and when I move my cursor i have it so it prints how many degrees from the “end” of the circle

however, the “end” of the circle is at the right so when i move my cursor to the right, its 360 or 0, i want it to say 360/0 at the top instead of the right

i dont know how to explain this any better :skull:, if someone could tell me how i could explain this better thatd be nice

2 Likes

Subtract or add 90 degrees from the resulting number.

1 Like

that doesnt really work and i end up with a negative

1 Like

so like if your cursor is under the zero degree mark it says 360 and 0 if it is above?
image

1 Like

yeah thats wahts happening

1 Like

well then if the degree you get is over 180 then you can set the value to
360-degree

image

1 Like

then it will be 0 at all times at the 0 degree mark

1 Like

image
like this?

1 Like

i assume your updating a text box , you could do it there, or if this is a function that returns the value to be put in the text box u could do it that way to
so yea

1 Like

no its not a textbox its a weapon wheel, im printing out the degree

1 Like

ok it should work anyway u do it tho :slight_smile:

1 Like

oh it didnt it was like, it only reaches 180 and then it goes down

1 Like

yea that was what we wanted right? the closest degree to the “end”
or did you have something else in mind

1 Like

no i wanted this
image

1 Like

then wouldn’t it be as simple as returning 0 if the degree equaled 360
;/

1 Like

what do you mean?

1 Like

im assuming you want the degrees from the start of the circle up to 360 and if it is at 360 you want it to
display (0/360) right

1 Like

i just want the degrees to start from the circle up like that image

1 Like

okay your really confusing me here sorry
so
image
you want the degrees counter clockwise from the “end”?

if you could explain in more detail what exactly you want that would be nice

1 Like

no like remember this image
image
you sent

ok now rotate that image 90 degrees
image
thats what i want

1 Like