I'm having difficualty trying to implement a knockback mechanic into my platforming game. How it is supposed to work is that if the player hits the side of the bottom of a wall or platform, the player will be knockedback. Think of it as someone who hits their head on something solid.
Develop games in your browser. Powerful, performant & highly capable.
Use "Platform Set Vector X" action. On collision with the wall, if the wall is to the right from the player (compare wall.x), then apply a negative vector, for example -100. If the wall is to the left, apply positive vector +100.