Changing the scale of a 3d model with obiCloth applied causes the mesh to appear broken
Please tell me how to respond
UNITY2018.3.14f1
Code that does not cause problems:
https://www.dropbox.com/s/jnjh1rgrzf1lcj...1.PNG?dl=0
The code where the problem occurs:
https://www.dropbox.com/s/g6fkx957fqk6eb...2.PNG?dl=0
Please tell me how to respond
UNITY2018.3.14f1
Code that does not cause problems:
Code:
model = (GameObject)GameObject.Instantiate(modelPrefab, new Vector3(0.5f, 0f, 0f), Quaternion.Euler(0, 180f, 0));
https://www.dropbox.com/s/jnjh1rgrzf1lcj...1.PNG?dl=0
The code where the problem occurs:
Code:
model = (GameObject)GameObject.Instantiate(modelPrefab, new Vector3(0.5f, 0f, 0f), Quaternion.Euler(0, 180f, 0));
model.transform.localScale = new Vector3(0.4f, 0.4f, 0.4f);
https://www.dropbox.com/s/g6fkx957fqk6eb...2.PNG?dl=0