How to make an arrow follow a wave's end point
Hello,
I want to create a wavy arrow. I created one wave using a script. I wanted to attach the arrowhead at the endpoint of the wave by parenting, but that didn't work. The arrowhead could not sync with the rhythm of the wave, it gets dislodged. I came to know I have to attach the arrowhead using some special math. Sin expression. But no way I could find one on google that can show/teach me how to attach something at the endpoint of a wave using math. sin expression! There are other examples of this expression but those didn't serve my purpose.
Can anyone tell me please what particular math sin expression in AE I have to use to get it done? Or at least can guide me on how can I do it? I have attached the sample. Thank you.



