Aligning anchored models via script

I’m trying to align a model with a different model, and I tried doing the math agorithm, but it didn’t work super well, and I tried attachments w/ ridged constraint, but that requires the object to be unanchored.

it’s not a complicated shape or anything, just a box, and I was wanting a method to easily do so, it doesn’t matter if its using attachments or what, but it needs to be able to be operated by a server script.

please lend some assistance, any and all assistance is appreciated!
thanks for at least reading this

2 Likes

??? Could you make a diagram or try explaining this in more detail?

I managed to find a solution, my math was just slightly off so it was slightly offsetting it, as i was adding where i needed to be subtracting

1 Like