# Is it possible to get the world coordinates of a part of an object given the UV of it?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-get-the-world-coordinates-of-a-part-of-an-object-given-the-uv-of-it/1267357>\
**Category:** Programming & Scripting\
**Tags:** coordinates, uv, unreal-engine, question\
**Created:** [August 21, 2023, 5:12am UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-world-coordinates-of-a-part-of-an-object-given-the-uv-of-it/1267357 "2023-08-21T05:12:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Twilight0104](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Twilight0104](https://forums.unrealengine.com/u/Twilight0104)\
**Post date:** [August 21, 2023, 5:12am UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-world-coordinates-of-a-part-of-an-object-given-the-uv-of-it/1267357/1 "2023-08-21T05:12:35Z")

</div>

Assuming that there are no redundant UV data within the vertices, is it possible to do this? For example, say I want to get the world coordinates of a plane. If the given UV of this plane is (0.8, 0.5), I want to be able to retrieve the world coordinates that correspond to this UV.

In the case of a plane it would be simple, but what if it was a plane that was doing clothing simulation? I would like to know if there’s a generalized solution for these cases as well.

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [August 21, 2023, 5:20am UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-world-coordinates-of-a-part-of-an-object-given-the-uv-of-it/1267357/2 "2023-08-21T05:20:18Z")

</div>

Hi Twilight0104,

You have to create spatial UVs that calculate it. I’ve got a tool on the marketplace that does it - rdMeshTools.

You can also get the spatial position of the mesh from a material by using “ObjectPosition”, but that doesn’t work correctly for static mesh instances.

> **[rdMeshTools Tutorial 4 - Recourse Design ltd.](https://recourse.nz/index.php/rdMeshTools-tutorial-4/)**
>
> rdMeshTools Tutorial 4 – Spatial UVs Last Edited: 26th July 2023 Spatial UVs are extra UV maps added to your StaticMeshes, arranged in a way that their UV values are actually their spatial position within the mesh, between 0.0 and 1.0. These can be...
