Yet another version of the Flip enemy challenge

As i starting to grasp stuff in C#, i’m starting also to became more anarchic and try to make stuff in my way (not sure if it’s a good idea tho)
As Rick as implementet the box collider on the enemy i decided to take another approach…more similar to what we used for jumps.
So i put the Box Collider 2d in front , because it was making more sense to me
immagine
Then in the script i made this, not without the help of Rick, because i was stuck with the enemy moving on the oppsite direction, but at the end i menaged to make it work without problems.

edit…i forgot to mention that i put the tick on “use full kinematic contacts” in the instpector in the RigidBody 2D field… without that it does not work
immagine

1 Like

Great job making your own variants of these games, it builds a lot more skill this way as well, great job!

1 Like

Privacy & Terms