im trying to make a series of objects rotate in an oval, which i can do using X,Y coordinates and some trig. my problem is that to do so i need theta, the angle that each obect is at at any point so i can find out where it has to be next. im trying to do this by measuring the time in seconds (0-59) then converting that into radians, so it takes a minute for one full rotation. unfortunately the calc function only ever gives me how many radians it is in 0dp, ie it just gives me an integer and no decimals. here is my code:
PandaFace wrote:.. unfortunately the calc function only ever gives me how many radians it is in 0dp, ie it just gives me an integer and no decimals.
I think the problem could be in how you are trying to use or display the value. The [rads1] calc measure is calculating something and the string meter [MeterShowRads1] shows the answer to 16 dp.