Cloth applied mesh does not scale when avatar scale is changed
tracked
西明寺弥生
If using a mesh with a Cloth component, it will remain at its original length when changing avatar scaling.
Please respond to this matter or add a setting to deny avatar scaling by Udon.
Log In
takec(たけし)
In build 1383, it seems that the Cloth component is disabled and then enabled every time the AvatarScale changes.
With this update, scale changes are now reflected correctly.
However, since the Cloth component is initialized based on the shape at the time it is enabled, the intended initialization will not be performed if the Armature is other than the initial Transform.
For example, if you are in a pose other than T pose, or if your bones are deformed by PhysBone etc.
I suggest keeping the Armature at its initial Transform while running AvatarScaling.
g6qwerty
Cloth scaling properly with avatar was working but now with this latest update, its broken and even resetting avatar don't fix it 100% of the time, but then you lose your avatar's scaled height too. and when you reset avatar height it applied the previous scaled cloth.
A
tracked
DAG-XR
A: Chances are, this could be the reason why. This Canny pertains to particles not scaling, and Tupper said it was a Heirarchy issue.
みみー/Mimy
This phenomenon is likely due to the fact that the Cloth component remembers and manipulates the mesh shape as soon as it is Enabled.
After changing the avatar's scale, when the Cloth component of the animation was momentarily set to Disable and then back to Enable, the Cloth mesh also matched the changed size.
It would be a good idea to provide a trigger for the avatar to know that the scale has changed, or to add a process to automatically recalculate the mesh shape in the Cloth component when the avatar's scale is changed.