- Home /
Question by
Lucanio · Aug 19, 2014 at 07:18 PM ·
interpolationsin
Is there a better way to interpolate a value from 0 to 1 back to 0?
Currently I'm doing this:
t *= Mathf.PI;
Mathf.Lerp(0.0,1.0,Mathf.Sin(t));
But I feel like this is wasteful. Is there a more efficient way to accomplish this?
Comment
Your answer
Follow this Question
Related Questions
interpolated rotation 1 Answer
I don't know difference between interpolation and non-interpolation 0 Answers
setting interpolate option as none, works better than interpolate and extrapolate 0 Answers
Updating at frameRate some fixedUpdated gameObject 1 Answer
Raycast moves away from object when object is rotated. 1 Answer