I'm trying to set my knockback direction perpendicular to a line on the hitbox, as well as be able to knock the enemy from left to right, but I'm not sure of how to go about this. Here's what I have so far (Screenshot in link)...
dropbox.com/s/i7rt7m364ntezvc/Collision.png
Also, how do I reference one object (Player1) through another object, like player 2. It tells me it's not valid.