the object is not completely in the trigger and is on the edge.

This may help, but I have a lot of problems with the implementation, for example. To make the beam react to the trigger box