I want to create a custom flag for my game

I tried to watch a few videos on how to make a waving flag to use in an UEFN game, but none of them are really explaining it in a complete way. as far as I can tell.

I’ve been able to create a flag with my image on it in in Blender and make it flap in the wind. When I import it into UEFN It’s there but it’s a fixed image. not flapping, like a single frame form the blender animation. Maybe this isn’t as straight forward as I would like it to be. or maybe I’m just not understanding how importing animated props work. Plus if I look for “how to import an animation in UEFN” all I get are how to import animated characters. Not how to import scenery items like a Flag or grandfather clock or whatever. I’m starting to think I’m searching for the wrong thing.

I’m hoping someone can point me to a video explaining how to do this.

Hi Dale,

An animation is just bones moving vertices around, so the flag anim should be possible. I’d say try exporting a super-simple animation from Blender to UEFN first to make sure you have the export/import pipeline down. (That’s good that you’re seeing at least 1 frame of your animation, maybe you just need to enable ‘Playing’ and ‘Looping’ in the Details panel)

Alternatively: a completely different approach, Look into the ‘World Position Offset’ material node. (Material Shader moving vertices around) There’s an example of a flag waving in the wind in the Content Examples sample project. (Content\ExampleContent\Materials\Flag)

Let us know if you’re still struggling with this.

hi there,

I may be a bit late but this tute worked for my hanging banners and flags attached to poles as its ‘pinned’ edge is based off position.

I am currently looking for one that uses a mask so I can do things like sheets draped from the ceiling or other things where cloth may be on weird angles or have multiple points of pinning and not have to sim it.

1 Like