I'm trying to add recoil to a weapon.
I have a doomsday laser, and when that laser is fired I need it to give the player velocity and momentum in the opposite direction.
Currently I have this:
For the player object:
set angle to (laser.angle + 180)
set 8Direction speed to 500
As far as I know this should be all that I need, but it just pushes the player to the right. If I use the "move at angle" function instead of 8Direction then it works, but the player doesn't gain momentum from the movement, which is not good enough.
Any help would be much appreciated!