Simple movement with respect to rotation

I’ve been searching for a simple way to move a character with respect to rotation. Like, if my player character hits an enemy, I would like that enemy to get pushed in the direction that I am facing.

I’ve been able to implement my own sort of movement script taking these things into account, but I was wondering if there’s some simple function included in Unity that allows us to move an object a certain way depending on it’s rotation. Does this exist, or should I just use what I have currently (which involves a good bit of trig)?

Thanks!

The simplest thing is to temporarily set the enemy rotation to match the player rotation, and use transform.Translate.