Beaming up - animation of models

Hello,

imagine I have a model from a 3D app or a built-in model, like the unity-character. Now I want to perform a ‘beaming up’- animation, like the examples in the science fiction movies. The vertices or pixels of the charakter should slowly appear (disappear) from one direction to the other direction. At first the legs should be visualized then the body… and so on.
I tried to achieve this task by iteration over the vertices of the characters mesh, but this approach doesn’t work. Here you can see my approach:

	void Update () {

        float j = min_y;
        if(j > max_y)
        {
            j = min_y;
        }
        j = j + 0.001f;


        Mesh mesh = GetComponent<MeshFilter>().mesh;
        Vector3[] vertices = mesh.vertices;
        int i = 0;
        while (i < vertices.Length)
        {
            if(vertices*.y < j)*

{
vertices = Vector3.zero;
}
i++;
}

mesh.vertices = vertices;
mesh.RecalculateBounds();
}
I attached a mesh filter to the characters body (ethan) and attached the script above. I thought Ethan should periodically appear (disappear), but sadly this doesn’t work.
Is there anyone with an idea?
Any help would be great!

Honestly, i would use a Particle Effect instead and while its playing just make the player modell more transparent :wink: