- WASD to move the player - Arrows or drag to move weapon - SPACE to simulate that the player got hit with the chosen force, facing away from the weapon, and the chosen stun.
Observations: - The angle 0° starts facing East, and it increases counterclockwise till 360° (which is a full rotation) - I added a pen to help visualize the x and y components of the velocity. You can delete it with no problem.