[Solved] Transform rotation based on the “Minutes” (Unity 3D) [closed]


I think it is not that difficult. You can easily find the distribution. Lets take actual duration which is 1200 - 360 = 840.

Actually the maths you can apply for such kind of problems is like,

X * 840 = 180

X will be the value which will multiplied 840 times to get the value of 180.

X = 180/840 => X = 0.214285

That’d be the per minute degree change in order to get 180 degrees in 840 minutes.

So you’d change the angle by 0.214285 degrees per minute in order to get it. 🙂

Similarly apply the same formula for any duration like, from 1000 to 1200, you can do it as,

1200-1000 = 200

180/200 = 0.9

So the new change in angle required per minute is 0.9.

10

solved Transform rotation based on the “Minutes” (Unity 3D) [closed]