Ok so you cast spell x and squiggles head towards the target crossing each other periodically ending in a bang? Something similar to a Dragon Ball Z energy beam spell?
I Have no idea how to do it, I'm just trying to make it easier for someone who does know to help you
Could you actually describe your spell with words? Images should be used to help with things that may be difficult to explain otherwise, not to show us the entire spell. It's difficult to work anything out from a static image.
Current position (along a straight line to the target) = X
Offset from that line (perpendicular to the line to the target) = A * sin(X / (2 * 3.14 * B))
Where A is how tall half the wave should be (Example would be 75), D is the distance between the caster and the target, and B is the length of two loops (example would be 1/3 * D).
You would use a positive and negative sine wave to create the crossing paths. B would have to be chosen based on some multiple of the distance, in order for the wave to always cross right at the target.
Looks like a Sin / Cos function would help you. you might want to dig into that. I also suggest you to use my vCircles snippet, has a great power when dealing with this things
I found very funny that you draw a phoenix at the first post
You should probably tell us what the problem is, instead of making us figure it out
Tell us what is going on, what's wrong, what's right, then post your code.
Reddit, Slack, Google, Facebook, Instagram — these companies use our data — directly or indirectly — to train the next generation of AI language models. Yet, I don’t remember anyone asking our permission, and in doing so, these companies have proven the adage that customers’ data is their main...
Our new website went up early yesterday. Health Empowers You. 200 smoothie recipe guide and soon we will have detox, cognitive enhancement, weightloss teas and some coffee blends. https://healthempowersyou.net/products/smoothie-recipe-guide
It never fails that as soon as I say something about the bots they come back - this time they are under a whole new IP range - one thing in common though, Chinese!