Push objects when walking into them

Hello,

I am wondering how I can move my object (chest) slightly whenever the player walks into it. Similar to the binding of isaac’s mechanics.

Thanks!

  • A