I'm creating a top down, 2D shooter and I want my player to be knocked or moved back slightly whenever they fire their shotgun to make it feel more powerful. I have no real idea on how to do this however as I am quite new to unity and c#.
I currently have wasd movement working and space to shoot (although it currently only shoots right. Another problem for another time)
Happy to provide any scripts you might need.
Thank you!
↧