How can I make a collision sensitive teleporter for a 2D game #c

Hello Unity folks,

I am trying to create a Teleporter which is able to feel the location of collision and transform the place of impact to the same place on the second exit teleporter (Like the 3d plane collider). I have tried multiple scripts and tutorials but I cannot come up with any solution. Most of the tutorials were meant for 3d projects.

The teleporter pad is stretched from left to right.
The collision will be from under as my player is floating upwards.

I have tried to use the 3d plane collider but got an error because I couldn’t use it with the 2d physics engine of unity.

I appreciate any help as this is really a struggle for me.

With kind regards and thanks in advance.

I think so. Screenshots / diagrams always help. If these pairs-of-teleporters always share the same size and orientation, the easiest solution might be…

//OnTriggerEnter   
Vector3 offset = object.position - teleporterA.position;
object.position = teleporterB.position + offset;

Might have the offset backwards, I’m a little decaffeinated. If teleporters didn’t share orientations, things might get interesting. Lemme know if this works out, and good luck,