one collider for 2 combined object

Hi, I have an obstacle that composed of 2 game object, but when the player collides it, it gets in OnTriggerEnter twice when the obstacle have 2 different collider, which is what it should be, of course. However, I couldnt find a solution for it, How can define one collider for both object properly? Because one collider does not fit for my shape…
if you can answer asap, I will be appreciated, thanks in advance :))

Use a box collider, and size it to fit, of course it wont exactly fit like a mesh collider, or 2 capsule colliders, but that really doesnt matter, as your only using it as a OnTrigger event.

I think you can add two colliders to one object .
I don’t think it’s a good way but it might work