How to display the centroid of a static mesh?

In a simulation, how can I check the centroid of a static mesh in real time?

I see descriptions saying “it’s possible,” but nobody explains how to do it. Even the image being displayed doesn’t show up in the search results.

Do I really need to write a function specifically to display this using Blueprint? No way…

Hey there,

Since static meshes have a uniform density, you can use the center of mass. This will be in world space.

If you want local space, you can inverse transform the location using the component’s world transform.