# Distorting/damaging Mesh with a material

**URL:** <https://forums.unrealengine.com/t/distorting-damaging-mesh-with-a-material/1172891>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [May 20, 2023, 8:42pm UTC](https://forums.unrealengine.com/t/distorting-damaging-mesh-with-a-material/1172891 "2023-05-20T20:42:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fnordcorps](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fnordcorps](https://forums.unrealengine.com/u/Fnordcorps)\
**Post date:** [May 20, 2023, 8:42pm UTC](https://forums.unrealengine.com/t/distorting-damaging-mesh-with-a-material/1172891/1 "2023-05-20T20:42:26Z")

</div>

Hi - trying to work out how to distort a mesh using its material so I can twist up the object up a little on damage - So I can apply a sort of damaged/broken look to my actors easily when they are hit without having to swap out meshes (IN UE5)

Tried playing around with world position offset but this seems to create gaps between the surfaces and only works successfully with very small amounts of offset.

Just wondered if there was a better method? I feel like swelling or expanding areas may be the way to go but not sure if that is acheiveable via a material?

WPO sort of succeeds but the surfaces start to fracture

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/a/b6afbad3f2911e871fc7250b24bd70397c3023ca.jpeg)

This is the setup I was trying out

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

---

<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 20, 2023, 11:44pm UTC](https://forums.unrealengine.com/t/distorting-damaging-mesh-with-a-material/1172891/2 "2023-05-20T23:44:13Z")

</div>

Hey there @Fnordcorps! WPO is pretty good for basic dents, but you can start breaking the polygons for deeper dents, so I’d usually recommend only shallow WPO use for damages. Alternatively here’s a couple of threads with a couple of other options for more or less controlled damages:

> [@How can I make a deformable car (using a skeletal mesh) with procedural meshes?](https://forums.unrealengine.com/t/how-can-i-make-a-deformable-car-using-a-skeletal-mesh-with-procedural-meshes/672915):
>
> Im looking to create a simple deformable car with procedural mesh, but there are little to no tutorials about it.

> [@Realtime deformation of surface on bullet/projectile hit?](https://forums.unrealengine.com/t/realtime-deformation-of-surface-on-bullet-projectile-hit/254064):
>
> Hi guys, is it possible to do the effect of a metal deforming upon bullet/projectile hit? Say I shoot to a metal armor wall and it’s being deformed (dented) in that particular place. Thanks a lot in advance!
