Hi,
I need to rotate a mesh in radian from -0.75 to +0.75 as displayed here Babylon.js Playground.
Radian angles needs to be derived from range of numbers (0 to 100). Value 0 should set the angle to -0.75 and value 100 set the angle to +0.75.
Should this be done by simply dividing range of angles with total numbers, [0.75 - (-0.75)] / 100 = 0.015? (where, 0.015 is multiplied to numbers)
or
Is there a predefined function for this type of conversion?
Thanks.