# Dynamically modify vertices of a skeleton mesh

**URL:** <https://forums.unrealengine.com/t/dynamically-modify-vertices-of-a-skeleton-mesh/2021605>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [September 15, 2024, 10:04am UTC](https://forums.unrealengine.com/t/dynamically-modify-vertices-of-a-skeleton-mesh/2021605 "2024-09-15T10:04:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MeatSolid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MeatSolid](https://forums.unrealengine.com/u/MeatSolid)\
**Post date:** [September 15, 2024, 10:04am UTC](https://forums.unrealengine.com/t/dynamically-modify-vertices-of-a-skeleton-mesh/2021605/1 "2024-09-15T10:04:51Z")

</div>

Hi everyone,  
I am looking for a method to modify the vertices’ data of a skeleton mesh in runtime. For example, modifying the vertex’s position, color, weighting, etc. Is there any way that I can achieve this? Thanks in advance and appreciate anyone who reads this post.

---

<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:** [September 15, 2024, 8:30pm UTC](https://forums.unrealengine.com/t/dynamically-modify-vertices-of-a-skeleton-mesh/2021605/2 "2024-09-15T20:30:02Z")

</div>

Hey there @MeatSolid! Welcome back to the community! What’s your use case? As there’s multiple answers to the question.

If you’re needing to actually edit the data directly on the SKM, this answer gets complicated and somewhat incomplete as it’s a complex topic that has changed multiple times over the years.

If you’re content with just visual modification, then we’ll be looking more at morph targets or vertex offsets.

Since you mentioned weighting though, I’m assuming you’re trying to make a complete SKM editor for runtime?

---

<div class="post-metadata">

**Author:** ![MeatSolid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MeatSolid](https://forums.unrealengine.com/u/MeatSolid)\
**Post date:** [September 16, 2024, 2:18pm UTC](https://forums.unrealengine.com/t/dynamically-modify-vertices-of-a-skeleton-mesh/2021605/3 "2024-09-16T14:18:06Z")

</div>

> [@SupportiveEntity](#):
>
> , this answer gets complicated and somewhat incompl

Thank you for your respond. Yeah, I think the first situation is what I meet now. Do you have any suggestion? Much appreciate.

---

<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:** [September 17, 2024, 8:39am UTC](https://forums.unrealengine.com/t/dynamically-modify-vertices-of-a-skeleton-mesh/2021605/4 "2024-09-17T08:39:55Z")

</div>

I found a couple of threads that you could use as a starting point in the right direction but they go into some deprecated functions and things have changed so you may be able to track the correct methods now down.

> [@Modify Skeleton Mesh Vertex Position Runtime](https://forums.unrealengine.com/t/modify-skeleton-mesh-vertex-position-runtime/413664):
>
> Hello everyone, I’m working on a project that need to change Specified Skeleton Mesh Vertex Position At Runtime. In fact i want to replace some vertex position(may be a head) with new positions(Get from assimp). 1. I konw procedural component can do it, but if it is possible to make animation with procedural component cause i need the vertex-replaced mesh to play animation. 2.World Position oOfset can change vertex positions, but how can i use it on certern vertex. Any ideas will help me, t…

> [@Manipulating skeletal mesh vertex positions at runtime](https://forums.unrealengine.com/t/manipulating-skeletal-mesh-vertex-positions-at-runtime/436690):
>
> Hey guys, I’m quite new to C++ programming (I much prefer C#) but I have a bit of experience with the engine itself (material creation etc.) and I’ve run into a bit of a problem. I’m trying to manipulate the vertex positions of a skeletal mesh at runtime without the editor. At first the engine crashed but I was able to fix that due to an array index being out of bounds. The real question I’m having is how can I update the mesh after the positions have been updated and to also fix a memory leak I…

> [@Skeletal mesh vertex editing](https://forums.unrealengine.com/t/skeletal-mesh-vertex-editing/339834):
>
> Hi. I want to get access to vertex data of a mesh (skeletal), so I can use code to rearrange them (position, normals, maybe colors and weights…). This was very easy in Unity, in UE4 I don’t know what to do frowning I’ve got lots of variations of a particular base-mesh and want to create morph-targets from them (procedurally). I’d also like to do some dynamic deformation effects like “pull vertices to a position based on range” or a distort/noise effect. Help please! edit: I also want to ch…

---

<div class="post-metadata">

**Author:** ![MeatSolid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MeatSolid](https://forums.unrealengine.com/u/MeatSolid)\
**Post date:** [September 18, 2024, 8:10am UTC](https://forums.unrealengine.com/t/dynamically-modify-vertices-of-a-skeleton-mesh/2021605/5 "2024-09-18T08:10:47Z")

</div>

Thank you very much. I will read them and do some research on them.

---

<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:** [September 18, 2024, 8:15am UTC](https://forums.unrealengine.com/t/dynamically-modify-vertices-of-a-skeleton-mesh/2021605/6 "2024-09-18T08:15:50Z")

</div>

Awesome, good luck! If you figure it out, it might be worth creating and selling a plugin with it, as it seems a complex topic that most developers would rather not implement manually.

Another bit of information I came across that might help would be this:

**Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.**

[https://www.reddit.com/r/unrealengine/comments/hxasso/prodedural\_skeleton\_skeletal\_mesh\_at\_runtime/](https://www.reddit.com/r/unrealengine/comments/hxasso/prodedural_skeleton_skeletal_mesh_at_runtime/)

---

<div class="post-metadata">

**Author:** ![MeatSolid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MeatSolid](https://forums.unrealengine.com/u/MeatSolid)\
**Post date:** [September 19, 2024, 6:17am UTC](https://forums.unrealengine.com/t/dynamically-modify-vertices-of-a-skeleton-mesh/2021605/7 "2024-09-19T06:17:19Z")

</div>

OK, I will do some research on that. Thanks again for your help.

---

<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:** [October 19, 2024, 6:18am UTC](https://forums.unrealengine.com/t/dynamically-modify-vertices-of-a-skeleton-mesh/2021605/8 "2024-10-19T06:18:10Z")

</div>

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