Model's Size After Rotation

How do I find a model’s size after rotation? :GetExtentsSize doesn’t work because it compensates for the rotations done by :SetPrimaryCFrame. Is there any simple way to do this?

2 Likes

if i understand your question correctly, Are you looking for GetBoundingBox?

1 Like

local _,Size = Model:GetBoundingBox() gave me the same result as I got with :GetExtentsSize()
There’s probably a way to use the orientation you get from Model:GetBoundingBox() to transform the size, but I don’t know exactly how. I’d appreciate some help on that if possible.

i think i understand your problem now Hopefully…, you are looking to find the axis aligned minimum bounding box /size of a model right? like this?

if so, i actually don’t know of any easy transformation to do this with just the orientation and the size. However you should be able to use :

3 Likes

Ah, thanks! That function was really easy to modify to get this working for me. If anyone stumbles upon this in the future, in short, the solution was to take that function and delete the orientation variable.
My code is working flawlessly now!

3 Likes