How do I make enemies turn around on platform edges?
I tried with invisible object and mirror on collision, but enemy doesnt go back, just mirror.
SOLVED: Make 2 invisible objects Mirror1 and Mirror2
On Collision with Mirror1 set Bounce off and set Mirrored, on collision with Mirror 2 set Bounce off and set notMirrored.
Making 2 mirrors on both sides of platform were easiest way to do it.
Lets say your sprite marking the end of the platform is called "end"
Player on collision with sprite(end) -> set mirrored
Develop games in your browser. Powerful, performant & highly capable.
I found easiest and best working way, check first post.