18-09-2023, 06:14 AM
(This post was last modified: 18-09-2023, 06:16 AM by josemendez.)
(15-09-2023, 01:03 AM)betoxproduction Wrote: Hi. I used this tutorial (https://www.youtube.com/watch?v=usXaFr6N630) to make a shirt with skinned cloth, which works perfectly, but I need to lower the particles. How can I do that?
You can just reduce the amount of vertices in your mesh. One particle will be created per vertex.
(15-09-2023, 01:03 AM)betoxproduction Wrote: 3. Using the low poly version to render a mesh with obi cloth, like this tutorial (https://www.youtube.com/watch?v=IWXSJJAu0dM) but the mesh collider don't support deformations, Jose explains why in this thread (http://obi.virtualmethodstudio.com/forum...-3869.html)
also in this thread, Jose mentioned that it's possible to achieve using distance fields, I tried this way:
decomposing my character's body into independent parts and creating and distance field collider for each one, then creating my obi cloth with the low poly mesh like the tutorial, but just like the mesh collider, the distance field doesn't move with the skeleton.
You need to parent the distance field colliders to each individual bone in the skeleton, otherwise there's no way it can move with it. This is how colliders for moving characters are usually done in games: by parenting simple colliders to each bone, instead of using a single deformable mesh collider (which would be extremely costly, so typically not supported in game engines).
(15-09-2023, 01:03 AM)betoxproduction Wrote: Also reading some random threads and not looking for errors I found this (http://obi.virtualmethodstudio.com/forum...-3843.html) where Jose claims that not only is Obi incapable of creating character clothing without skinning, but so are all the graphics engines.
Indeed, this is due to the extremely high cost of accurate collision detection between two deformable shapes: the character body, and the cloth. It's a lot simpler and considerably faster to just skin the cloth to the same skeleton used by the character body, and then limit the cloth to move within a radius of the skinned positions. This is what all game engines do when it comes to character cloth simulation. In Obi this is done using ObiSkinnedCloth/ObiSkinnedClothRenderer.
kind regards,