Get Component Bounds Rotation

I have an actor with a static mesh component. In order to measure the dimension of the static mesh I use GetComponentBound node.

I’m confused how this is supposed to work… Box extent gives me the half width in each dimension.

If I rotate my actor however, I get completely different values. The box extent stays not consistent although the dimension have not changed.

To solve this: If you get the static mesh from the static mesh component and call the GetComponentBound node for the static mesh itself it stays consistent regardless of the rotation.

1 Like

Hello, it is not working for me.

"static mesh from the static mesh component and call the GetComponentBound

I can get the Static mesh from the static mesh component, that works. But GetComponentBound i not working on it then. I need the x,y and z size of a the static mes in the world. Even when it is rotated. Any solution for it? GetComponentBound is not working on static mesh component correctly when it is rotated.

I see also “get bounds” for static mesh. And GetLocalBounds for static mesh component also. But both only get back some vectors, and not mesh sizes for every axis like x, y and z of the mesh. But I need the real mesh size in each direction. :slight_smile:

Any solution? Thanks a lot

You can use GetBounds.