Hello! I can't for my life figure out how to solve this. This is just another version of the "Smooth Direction Change" object and the idea is that the Wave-enemy should "wave-around" like it is doing but he shouldn't go through any blocks on the way up or down. It works horizontal but not vertical. What am I doing wrong or what can/should I change? I've tried with both changing the "Y Start"-value when it is on it's way up and down and I have also tried to change the "Degree"-value, I also tried to change the "Y position" as can be seen in the file but it's just not working at all. Any insight to this problem would be really wonderful.
It should only move in a wave-like pattern. I have encountered difficulties when using the included sinweave movement and it would be awesome if it could work with the other example because it would probably be very easy to use too!
It should pretty much work like in this example, only that in this example it changes direction very "laggy". Otherwise everything works just as intended.