Bouce after collision

Hello all,

I'm starting with Unity and so far everything ran as expected. I'm now trying to make the enemies bounce away when they hit the player, but so far I had no clue how to do it. Any tips? I'm using 2 capsules as the enemy and the player, I placed rigidbody on both and tried to create a custom material with the bouncing property but no luck.

If you want the PhysicMaterial to take affect you have to move your enemies via Forces instead of direct moving them, otherwise you can't have physics feedback.