Get the dimensions of a blendshape model.

Hello,

I’m currently working on a project where i need to use blendshapes to modify some models we use.
So far no problems, this works all fine.
However we need the dimensions of the models but somehow i can’t get the bounds to update to the current shape of the model.

I also tried to read out all the vertices but these also stay at the default value no matter how much i adjusted the different blendshapes.

Has anybody any suggestions on how to proceed to get the correct dimensions of the models we use?

Thanks.

Have you tried using the SkinnedMeshRenderer.BakeMesh function Unity - Scripting API: SkinnedMeshRenderer.BakeMesh

Ah, i missed that one… Seems like that will do the trick.
Thank you SpookyCat!