# How to convert float values to size like radius in sphere?

**URL:** <https://forums.unrealengine.com/t/how-to-convert-float-values-to-size-like-radius-in-sphere/1872883>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [May 25, 2024, 7:14pm UTC](https://forums.unrealengine.com/t/how-to-convert-float-values-to-size-like-radius-in-sphere/1872883 "2024-05-25T19:14:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aziclel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aziclel](https://forums.unrealengine.com/u/Aziclel)\
**Post date:** [May 25, 2024, 7:14pm UTC](https://forums.unrealengine.com/t/how-to-convert-float-values-to-size-like-radius-in-sphere/1872883/1 "2024-05-25T19:14:31Z")

</div>

Hello, i’m quite a newbie, and i have a question. Is there any way to size custom meshes with units like in sphere radius? For example i want it to be 200 units long in one direction and it will be exactly like i set 200 radius in sphere. I can’t understand how to do it. With size it very difficult to set it properly. Looking forward for your help.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [May 25, 2024, 10:48pm UTC](https://forums.unrealengine.com/t/how-to-convert-float-values-to-size-like-radius-in-sphere/1872883/2 "2024-05-25T22:48:55Z")

</div>

Hey there @Aziclel! Welcome to the community! If your object has a uniform size to begin with, for example your spherical object is built with a radius of 50 units (cm in Unreal) your object would be standardized to 50 unit increments per scale. So if you want to keep a sphere 1:1 with the unit scale, you’d start with a sphere with 1 unit radius, your scale would be directly synced.

---

<div class="post-metadata">

**Author:** ![Aziclel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aziclel](https://forums.unrealengine.com/u/Aziclel)\
**Post date:** [May 26, 2024, 9:55am UTC](https://forums.unrealengine.com/t/how-to-convert-float-values-to-size-like-radius-in-sphere/1872883/3 "2024-05-26T09:55:05Z")

</div>

My mesh is like this, and i can’t find setting that you suggested. Neither in Static Mesh nor in Static mesh component. Can you write it more detailed how to add this setting.

 ![mesh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/e/3be3e0215a26f8570efa36dea3b4b1bea40126e6.png)

---

<div class="post-metadata">

**Author:** ![Aziclel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aziclel](https://forums.unrealengine.com/u/Aziclel)\
**Post date:** [June 3, 2024, 4:33pm UTC](https://forums.unrealengine.com/t/how-to-convert-float-values-to-size-like-radius-in-sphere/1872883/4 "2024-06-03T16:33:17Z")

</div>

Up, still can’t find solution

---

<div class="post-metadata">

**Author:** ![KryogenicGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kryogenicgames/32/1201049_2.png) [@KryogenicGames](https://forums.unrealengine.com/u/KryogenicGames)\
**Post date:** [June 3, 2024, 4:55pm UTC](https://forums.unrealengine.com/t/how-to-convert-float-values-to-size-like-radius-in-sphere/1872883/5 "2024-06-03T16:55:32Z")

</div>

Is this what you are looking for?

> **[Screenshot](https://prnt.sc/mUyMPS12xozF)**
>
> Captured with Lightshot

---

<div class="post-metadata">

**Author:** ![Aziclel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aziclel](https://forums.unrealengine.com/u/Aziclel)\
**Post date:** [June 3, 2024, 5:26pm UTC](https://forums.unrealengine.com/t/how-to-convert-float-values-to-size-like-radius-in-sphere/1872883/6 "2024-06-03T17:26:17Z")

</div>

Thank you for you reply, i tested it and i think i can do what i wanted with it.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 3, 2024, 5:26pm UTC](https://forums.unrealengine.com/t/how-to-convert-float-values-to-size-like-radius-in-sphere/1872883/7 "2024-07-03T17:26:35Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
