Box collider detect which side was hit

Have done a bunch of research but either seem complicated or not quite what i need; let’s just say the player is a cue with a box collider and when i hit another object i need to figure out which side i was hit from

(for example if i hit the side of a crate it break but i’m able to stand on top of it)

I think you should you use collisionFlags you can read about it here