Ok i am having trouble animating a flag in unity. All i am trying to do is take a flag in max and make it look like its blowing in the wind. so far i have done it with trying ripple and wave modifier and keyframing them but unity does not pickup the animation. i also have animated it in max using wind and gravity but unity doesnt play the animation. i then tried to just manually move the verts to just get an animation on it, but unity will not play the animation. what is the easiest way to animate an actual flag, not render it to a plane. i want the flag to actually move.
Unity does not support vertex animations like that (morph targets, what you’re doing, and so on). Unity only supports transform-based keyframe animations or skinned/rigged character animations. If you want a flag waving in the wind then you’ll likely have to bring in your static flag model then write a bit of code in Unity (JavaScript or C#) and animate it procedurally.
Try using this shader.
–Eric
Touché Eric, thanks for that link!
wow thx, i had totally forgot about this since i was working on another project but im gonna go back and try out the shader and see how it works.