Adding the bones
Of course, the eyes won't move by themselves, they need a bone that will make them bounce. I'm sure you followed our rigging tutorial to easily rig your character with mixamo and fix any nasty problem, if not, be sure to check it out here:
Fix and reset your Mixamo avatar rig
Using the Create Joints tool, add your bones wherever you want. Make the bone chains as long as you want so it looks as smooth as posible.
Want to give your character even more personality? Use blend shapes visemes to add facial expresions while talking. You can easily follow our guide here
Create and upload a VRChat Avatar with blend shapes visemes
Now, export your character making sure you have the skin weight correct and the skin checker box ticked.
Time to bounce
Next stop, Unity.
Be sure to have the Dynamic Bones asset installed in your project because it's what we need to be able to move the new bones.
Check if everything is correct and the skin weight is working properly.
Drag and drop the DynamicBones.cs script onto your character mesh or add a new component on the inspector tab. Time for some tweaks.
By default, Dynamic Bones gives pretty good results for the bones to interact with meshes and being affected by gravity, but my case is a little bit special, and we will have to adjust it correctly.
First of all, we need to assign which bones we want to be dynamic. For that, we will select the "Root Bone", that is, the bone before all of our dynamic bones.
Test, test, test. Move your character. Rotate it. Make sure it does what you want. You can get a lot of different effects by just adjusting a couple of parameters.
This is definetly not what we want. While the eyes move accordignly on the Y and X axis, we don't want to move in the Z axis.
Eyes in place, but we need to tweak how the eyes move and behave when moved. These are all the options in the image below.
Knowing what each option do, now is time to test. Tweak some settings and try by yourself.
If you don't know how to do it, check out our guide about how to upload you avatars into VRChat
Dynamic bones are a simple yet super effective way to give life to your characters. With just a little bit of tweaking you can get really good results. Making you characters more dynamic and life like.
Moving clothes, hair, tails and eyes are just the beginning,
your imagination is the limit here. Be creative!