Login

Fancade Wiki

Updated LERP.md (markdown)

... ...
@@ -18,4 +18,4 @@ The most common use case is to smoothly transition from one rotation to another.
18 18
19 19
[[/uploads/20210105_102823.jpg]]
20 20
21
Every frame, the block rotates 5% (0.05) of the way from its initial rotation (0°) towards its goal (90°). Note that it doesn't rotate on a constant speed, but it eases out/slows down until it comes to a stop at its goal, it's because by every frame, the From input changes itself to be the block's current rotation, which means the distance between From and To get's smaller, therefore 5% of the way towards its goal is smaller than what it was in the previous frames.
... ...
\ No newline at end of file
0
Every frame, the block rotates 5% (0.05) of the way from its initial rotation (0°) towards its goal (90°). Note that it doesn't rotate on a constant speed, but it eases out/slows down until it comes to a stop at its goal, it's because by every frame, the From input changes itself to be the block's current rotation, which means the distance between From and To gets smaller, therefore 5% of the way towards its goal is smaller than what it was in the previous frames.
... ...
\ No newline at end of file
Fancade Wiki