I am creating a boxing game and I just added a punching bag object. Can someone please tell me how to make it work in such a way that it moves backwards when hit but returns back to its original position afterwards?

Here are the setting that I have applied on the punching bag object. Please advice me on what I can do.

Hi! In this video you can see the similar goal:

Good luck!