Published on

Apply Realistic Eye Movements to a 3D model made by Vroid [Unity / Vroid]

  • Evelyn
    Full-time IndieDev.
    I'm Japanese, so please forgive me if my English is strange.

Please share this article if you like!

Hi! Welcome to Evelyn GameDev Blog!!

I want to control the direction of the character's eyes and face while the animation is playing.

For those of you who are interested, this article will introduce a paid asset called Realistic Eye Movements with Vroid 3d model.

If you read this article to the end, you can implement the following.

The video also explains how to do this, so if there are any parts you don't understand from the blog post alone, please watch the Youtube.

Table of Contents

Importing packages

First, let's create a new project. I'm going to create a Universal Render Pipeline project.

The next step is to import the necessary assets and packages.

Realistic Eye Movements is a paid asset, but I think it's worth it.

Furthermore, go to the URP UniVRM github page and download the UnityPackage file from the release page.


Drag and drop the UnityPackage file that you just downloaded into the Unity editor and import it into your project.

Then, drag and drop the VRM file to import the Vroid 3D model into the Unity project.

If you don't have a VRM file, you can use the sample avatar included in URP UniVRM!!

Once the VRM file has been imported, the files and folders associated with the Vroid will be extracted.

Setting up demo scene

Now that we have completed importing the necessary packages, it is time to set up the demo scene.

Let's open the Realistic Eye Movements demo scene.

The shader of the material in the demo scene does not support the Universal Render Pipeline, so upgrade the material by selecting Universal Render Pipeline from the Edit menu bar.

The material of the sphere is not upgraded, so change it to another material.

Then, hide the character game object that exists from the beginning and add a 3D model of the Vroid, a child element of the character game object.

The Vroid character I added was a little undersized, so resize it so that it appears in the camera.

Finally, change the Avatar in the Animator component of the Character game object to a VRM avatar and all work is complete.

Thanks for your work!

After working up to this point and running the editor, you should be able to move the eyes of the Vroid character as shown below.

Wrap up

How did it go?

In the demo scene, the character's eye line is changed triggered by the click of a button, but you can run it from a script depending on your project.

I would be happy to contribute to your game development in any way I can.

Thank you for reading to the end.

Please share this article if you like!