How can i connect a orb with a pillar?

Hello , i madera my character pick up an orb, the orb gets attach to the character and then destroys, but it can respawn again, the problem is , i dont know how to make the orb being in the pillar, and make the gate open when the orb is in the pillar. Pls i need help.