Tutorial for creating non-destructive attack swipe meshes in Maya (Maya攻击刀光)

DArius%20Autos

Hi Realtime VFX!

I saw recently a post about “Soulercoasters”, and thought that I would share the best method I’ve found for making mesh swipes for attack animations. This is the technique I always use when making attack swipes on League, as you can see in the image above where I made these for High Noon Darius.

The reason that this method is good is because it focuses on working non-destructively - that is, by doing certain steps in maya we create a mesh which we can easily update without destroying any of its attributes, like it’s UVs. It’s also easy to adjust the shape of it once you see it in game, by just dragging around a few handles - no manual poly modelling required:

image

Please download this PDF to see the full tutorial. It’s also mostly translated into Chinese, for our Chinese speaking artists out there :slight_smile:

Maya攻击刀光
Making Attack Swipes in Maya (Real Time VFX).pdf (1.5 MB)

81 Likes

Oooh that’s so great Oli!

Thanks for sharing :sparkles:

1 Like

Oh that looks really good, always had a struggle creating those meshes so nice to see a proper workflow for it.

1 Like

Thanks for this one, it’s great!

Cool! I’m doing something similar! A colleague from work gave me a tip about a technique like that and I came up with something along those lines in Houdini.

For the curious ones:

In Houdini I attach two locators to the weapon socket, one for the outer edge of the blade and one for the inner edge. For every frame of the animation I spawn one point on each of the positions of the two locators. Then I use these points to create two curves (and outer one and inner one). The Sweep SOP can create a mesh from these two curves. To get more smoothness and even triangulation you can resample and smooth the curves with the respective Houdini nodes. And the cool thing about doing it like this: It’s fully procedural per weapon. So the curves don’t have to be drawn by hand. If an animator changes the animation Houdini can re-export the mesh with a few clicks!

3 Likes

That sounds really awesome!

I definitely think this process could be automated better, that process you’ve made sounds great.

2 Likes

That works great as long as the animations are nice and fluid. Once you get to the snappier 1 frame swipes, it fall apart unfortunately. (My worst one was a spinning attack that did two full rotations in 6 frames :S ) Having it curvebased prevents this.
If you rely fully on the animation, there’s no big benefit to using meshes over ribbons.

1 Like

100% this. Sometimes you have to make meshes that will be used to imply the motions of the animations, and ribbons and trails fall apart really quick the faster the animation is. That holds true for both attaching something in Houdini to make a mesh trail, and using trails in engines. There’s times when all you need is a ring or cylinder that roughly fits the path of an animation, and you’ll be panning your material so quickly on that most people won’t ever notice it doesn’t quite fit perfectly.

1 Like

In my case ribbons in UE4 provided really bad UVs (faceted) which is why I wanted to give with a mesh-based one. For snappy animations the technique sometimes breaks a little. Then I manually adjust the curves in Houdini and that usually works out. For that case I don’t really have a solution for how to maintain proper source files.

thx for your sharing~~

Thank you so much for this ! Awesome …

1 Like

Thanks for share! im really like league!

1 Like

This has been SO helpful for my senior capstone game project. I used it for our bird character’s wing attack! https://i.gyazo.com/e0c771a21c992b6e6c3ab1b52682ea53.mp4

Amazing! Thank you for sharing with us!

Yaaay, thank you very much, good sir!

Newbie here!
Would anyone know if Blender generates meshes using curves like Maya? How is it called?

1 Like

You could use a “Curve” modifier in a subdivided plane to achieve a similar effect

Thank you very much, beautiful detailed tutoriall!

Did you ever find out the best way to do it blender?

Hi, mate!

At that time I didn’t really need to go for that specific solution as I didn’t need it to have pixel perfect precision, so I just used a regular disc-ish mesh, using a Cylinder, deleting both top and bottom faces, scaling in the top vertices and then selecting all vertices, hitting S, then Z and finally 0, squashing it into a a disc mesh, but with a hole on the center.

Though recently I had to work on a Slash and stumbled on this: MotionTrail3D: Sword Trail Tutorial - YouTube
This seems like what is done here by Beardilocks, but using Blender.

2 Likes

Oh dang, ill have to check that out. Thank you for the response!