Hello,
I have one question to ask. I want when the character hits any enemy or trap to make the character recoil back, but not just recoil on the same level. I want the character to bounce back more likely than just recoil on the same height as the enemy and the player. If I moving right and got hit on the right side, I want the character to bounce at a certain height back to left and if hit by left to bounce back to the right. Anyone can help me on this will be greatly appreciate it.
Thanks in advance.
I have one question to ask. I want when the character hits any enemy or trap to make the character recoil back, but not just recoil on the same level. I want the character to bounce back more likely than just recoil on the same height as the enemy and the player. If I moving right and got hit on the right side, I want the character to bounce at a certain height back to left and if hit by left to bounce back to the right. Anyone can help me on this will be greatly appreciate it.
Thanks in advance.