Converting 360 degrees rotation to x/y coords

youcloudsofdoom's icon

Hi All,

I need to convert points on a 360 degree circle into an x/y coords position, with the range of values for the x/y coords being -200 to 200, so that:

0 degrees = y200, x0
180 = y-200, x0
270 = y0, x -200
90 = y0, x 200

I can't get my head around what combo of scale/if will let me do this, anyone have any suggestions?

pdelges's icon

Here is a suggestion, the key is the poltocar object :

Max Patch
Copy patch and select New From Clipboard in Max.

youcloudsofdoom's icon

Ah, that is perfect! Much better than the clunky solution I was trying to bash out. Thank you!