I know that the easiest way to move an object with the figure 8 trajectory is:
x = cos(t);
y = sin(2*t) / 2;
but I just don't know how to rotate it, lets says with a new variable r as rotation, how do I merge it into the above formula ? can anyone please advise me on what is the simplest and cheapest way/formula to move and rotate the figure 8 trajectory ?
ref:How can I move an object in an "infinity" or "figure 8" trajectory?