Updated LERP.md (markdown)
commited
commit
955979a5ba9c3bf2ced2ef1eac83e6cc9effe9bb
... | ... | @@ -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, 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 |
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 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 |