Hi , it's probably easy to do but i stucked on this , i just wanted to recognise the direction my player is standing in front of an enemy so the enemy punches him in the opposite direction when they are both colliding , but it is somehow not working maybe cause of there are multiple enemy copies on the field
I've made something like that but its probably wrong i should put loop there or something
and here is the condition for bouncing off the enemy
Its only working for one side of the enemy dunno why
could anyone help me with that ?