This seen in Death Egg on Sonic 3 and Knuckles.
I think the movement is Sine/Cosine based. I think there may be some waypoints to. So, any have any idea on how to do this?
You could easily accomplish the same thing by having an object follow a path you draw. There's no point complicating things with sines and cosines.
Develop games in your browser. Powerful, performant & highly capable.
Draw a path? As in the path movement? If I do that, it wouldn't be dynamic.