Updated Sin.md (markdown)
commited
commit
be1dc511555e5c4c7c0bae622f8ac9f01f30f273
... | ... | @@ -19,5 +19,5 @@ To understand better search for "[[Trigonometric functions|https://www.google.co |
19 | 19 | Ever wondered how to make those ultra smooth floating coin animations like in Roper? Here's how to do it: |
20 | 20 | [[uploads/floating_coin_animation.jpg]] |
21 | 21 | |
22 | (Note that you don't have to store the input in a rotation. A number will do just fine.) |
|
22 | (Note that you don't have to store the input in a rotation. A number or [[Current Frame]] will do just fine.) |
|
23 | 23 | - Sin and [[Cos]] can be used for such back and forth animations like this. You can also multiply the output of sin or cos by a number to move it in a larger or smaller scale. If you manage to utilize this function, you can even make any type of animations very smooth (e.g. walking animation, gun Recoil animation, moving platforms, etc.)! |
... | ... | \ No newline at end of file |