# How to display the centroid of a static mesh?

**URL:** <https://forums.unrealengine.com/t/how-to-display-the-centroid-of-a-static-mesh/2715159>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** Debugging, unreal-engine, Physics, question\
**Created:** [April 14, 2026, 6:53am UTC](https://forums.unrealengine.com/t/how-to-display-the-centroid-of-a-static-mesh/2715159 "2026-04-14T06:53:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FairboyMarx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FairboyMarx](https://forums.unrealengine.com/u/FairboyMarx)\
**Post date:** [April 14, 2026, 6:53am UTC](https://forums.unrealengine.com/t/how-to-display-the-centroid-of-a-static-mesh/2715159/1 "2026-04-14T06:53:03Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![rokenrock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rokenrock/32/1040844_2.png) [@rokenrock](https://forums.unrealengine.com/u/rokenrock)\
**Post date:** [April 14, 2026, 12:18pm UTC](https://forums.unrealengine.com/t/how-to-display-the-centroid-of-a-static-mesh/2715159/2 "2026-04-14T12:18:18Z")

</div>

Hey there,

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/3/3e388bbcbf5b1baa66b79d9d7820764a4c815af9.png)

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/4/844c5544259fb4ade1192b6edbea1763efa11f3b.png)

---

<div class="post-metadata">

**Author:** ![FairboyMarx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FairboyMarx](https://forums.unrealengine.com/u/FairboyMarx)\
**Post date:** [April 15, 2026, 6:12am UTC](https://forums.unrealengine.com/t/how-to-display-the-centroid-of-a-static-mesh/2715159/3 "2026-04-15T06:12:33Z")

</div>

So, the blueprints were necessary after all. Someone saying that it can be displayed in debug mode must be a misunderstanding or misinformation.
