Updated LERP.md (markdown)
commited
commit
b385008afd3a2000e14243925b35104b3e4bc253
... | ... | @@ -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 to its destination. |
|
... | ... | \ 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, it's because 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 |