Trigger behavior between physics(2d) objects

I’ve got collectable objects and a player object in my game. Both need physics2d to interact with their environment, however I need there to be trigger-like behavior between the two types of objects. In other words I need the physics from the collectables to not push the player around if one happens to fly into him at an angle. I still need the collectables to bounce off each other though. How do I achieve this?

I don’t know if this is the best solution but one way to do it would be to add a child gameobject to the coin. Give the child gameobject a collider and assign it to a separate physics layer.

You could then set this other collider as a trigger and use collision layers to only check collisions against the player.

You could then use the collisions layers to set the first collider to ignore the player.