How to straighten UVs in Unreal 5.7?
Specifically, the barrel in the Content Examples pack.
Found here:
Content Examples > All > Content > Maps > Geometry > Geometry_ModelingTools Level
The finished barrel “Displays custom UVs that have been rotated and straightened”, but there is no information on how to do that. I’ve spent days scouring the docs and the internet but there isn’t anything out there for this. I’m starting to think it isn’t possible in-engine, and they used external software like Blender for this.
I can get perfectly straight UVs on a fattened cylinder using the Project-to-cylinder UV tool, but with the barrel it treats the metal bands as cylinders too as described in the tooltips which makes the bands into separate top/side/bottom pieces.
Using polygroups I can select a group, add a seam to split the 360-degree barrel, and then unwrap to a flat UV island almost like I want, but it’s not straightened. But then if I try the same technique on the metal bands I can’t even get them to go flat, stuck in a circle even with a seam.
Looking at the UVs for the example barrel all the circular barrel parts have been straightened and I also see a single seam on the back going all the way from top to bottom. And the final barrel doesn’t seem to have any polygroups either, kinda strange.
How’d they do that?

