How to get size between two models

What calculation or something to get size of two models

image

kinda like this outline

So you want a bounding box that describes the volume represented by the outlines in your image? e.g. the CFrame and Size of a block that would contain both “FloatingNooby” and “Requiem”?

If so:

  • If you want it axis-aligned then you can use an AABB, see implementation here

  • Otherwise you’ll need an OBB, see this example for a simplistic implementation; depending on your use case this might also be of help to you