How would I go about pairing two instances of different objects at runtime, like containers, but chosen at runtime.
What I need is for on collision between object1 and object2, object1 always sets position to object2. (for a while anyway) and these two objects need to stay connected like this. There are multiple object1's and object2's and others pair together aswell.
I've tried things with object IDs but couldnt get it to work, the best I can do to pick the instances on overlap between these objects, but this bugs out constantly.
Reminiscent of when I've tried pairing things without containers (horrible, horrible