21-02-2019, 10:01 AM
Hello. I attached obi cloth to the dress. It starts rotating at runtime like the image(left one is original) and shrink even though I did not do such setting. Can you solve the problem?
(21-02-2019, 10:01 AM)Richard Wrote: [ -> ]Hello. I attached obi cloth to the dress. It starts rotating at runtime like the image(left one is original) and shrink even though I did not do such setting. Can you solve the problem?
(21-02-2019, 10:08 AM)josemendez Wrote: [ -> ]Hi,
This is most like a scaling issue with the mesh itself. Make sure the mesh transform's scale (and all parent transforms up its hierarchy) have unity scale (1,1,1).
(21-02-2019, 11:38 AM)Richard Wrote: [ -> ]When I try to change its scale by transform.localScale, it does not work. Why? or I am doing a wrong way?
(21-02-2019, 01:23 PM)josemendez Wrote: [ -> ]Hi,
You should not change it inside Unity, you must change it in the modeling package you used to create the mesh.
Make sure you apply any transformation to the mesh vertices themselves, this is done in different ways depending on what program you use. In Blender for instance, it is Object->Apply->Scale.
http://builder.openhmd.net/blender-hmd-v...apply.html
(21-02-2019, 01:40 PM)Richard Wrote: [ -> ]Hello.
If I want to shrink cloth, what can I do? And can I select particles like around shoulders or arms?
(21-02-2019, 02:39 PM)josemendez Wrote: [ -> ]Use local space simulation. That would allow you to scale the cloth simulation arbitrarily:
http://obi.virtualmethodstudio.com/tutor...space.html
To select particles near a given zone at runtime, either use trigger colliders:
http://obi.virtualmethodstudio.com/tutor...sions.html
or just calculate the particle distance to a given point and then select those close enough. The last example in the page does pretty much this.
http://obi.virtualmethodstudio.com/tutor...icles.html