Need help with wave movement!
beefy_clyro
Member Posts: 5,394
Hi. I am running through codemonkeys demo from the wiki on moving in a wave motion. On this demo, scene 2, the main actor fires a projectile that moves in a wave up the screen. Now, what i am having difficulties with is applying the wave movement so that my actor goes horizontally across the screen and not vertically!
Ideally, here is what i am trying to achieve.
I have a main character whose X and Y positions are being constrained on the global level.
Currently i have enemy actors just moving to these global x and y positions to target my main character.
Now i want these enemy actors to move to the global x and y to target my character whilst moving/hovering up and down in a wave motion. This is what i cannot figure out, any ideas what i need to modify from the demo to get it working correctly? Thanks
Ideally, here is what i am trying to achieve.
I have a main character whose X and Y positions are being constrained on the global level.
Currently i have enemy actors just moving to these global x and y positions to target my main character.
Now i want these enemy actors to move to the global x and y to target my character whilst moving/hovering up and down in a wave motion. This is what i cannot figure out, any ideas what i need to modify from the demo to get it working correctly? Thanks
Comments