Calculate height and width

Hi, is there a way to find height and width of an object at a same scale even if its rotated?

you can get the size of objects using these nodes depending on the object

1 Like

The key word to my question was “at a same scale even if its rotated?”
Both of these methods can’t be used duo to rotation gives different values

RecourseDesign, The last value you got from the debug message, wich one is that. I only see 3 object in the scene

That last value is the landscape I’m guessing, I was interested in that too :slight_smile:

If you’re wanting the static meshes width/height/depth ignoring the actors scale and rotation then it’s as easy as getting the mesh component and using the “Get Local Bounds” - as you can see, it is always -50 → 50 no matter the rotation - or am I still not getting your question?

Ah yes, not exactly but close tho
Is there a way to get the width/height/depth even with different rotation but not ignoring the Scale3D

Just multiply the scale with the box extend.

You can just multiply the local size by the actor scale like:

4 Likes

Worked like butter, Thank you so mutch :slight_smile:

1 Like