- Home /
Using the MorphTargets script with a SkinnedMeshRenderer?
Does anyone know how to use the MorphTargets script with a SkinnedMeshRenderer?
The script is here: http://www.unifycommunity.com/wiki/index.php?title=MorphTargets and there's a forum post here about it: http://forum.unity3d.com/viewtopic.php?t=16425
It's set up for use with regular meshes and I can't figure out how to make it work with a skinned\boned character.
Is it possible?
Answer by Ony · Jan 04, 2012 at 07:07 AM
Just a followup for anyone who finds this thread...
I never did figure out how to do what I asked here, but I ended up using Mega-Fiers morphing and it works great. I highly recommend it to anyone looking for morphing ability in Unity.
Answer by Dizzlebomb.du · Nov 03, 2011 at 04:29 PM
I have tried converting similar scripts to use SkinnedMeshRenderer instead of MeshFilter / MeshRenderer... but have not had good success. This is primarily due to the fact that a skinned mesh in Unity is internally a shared mesh, and not a mesh instance. Due to that limitation, if you adjust vertex positions, you actually write those updated positions to the disk (to the data in your project).
If anyone else has information on that particular aspect of SkinnedMeshRenderer, please feel free to weigh in--,I have also tried to modify a morph script (a different one) that had a required MeshFilter component, and replace that with a required Skinned Mesh instead.
Your answer
![](https://koobas.hobune.stream/wayback/20220612163459im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Will Unity support morph targets built in natively? 3 Answers
Is a way to Morph similar object and record it? 1 Answer
Character Body & Attaching Head that has Morphs 1 Answer
Deformation Maps Possible? 0 Answers
Unity changing the number of vertices in a mesh on import, ruining blendshapes 3 Answers