Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Character + cloth
#8
(30-01-2022, 06:54 PM)aqualonix Wrote: Yes, they have the same topology and almost the same position. Stockings can't be on the same position as the body. I can bind them both to the same softbody but I can't manually paint them the same way for the parts that needed for the jiggle. Painting method is very approximated.

You can then copy weights between both. These are directly accessible in the ObiSoftbodySkinner component:

Code:
skinner.m_softbodyInfluences //<-- array of weights for each vertex. Values range from 0 to 1.

If you can't rely on vertex ordering to be the same for both meshes, you will have to use some other metric to determine corresponding vertices. Distance is a simple and good one, for each vertex in the mesh A look for the closest vertex in mesh B and copy its weight.

kind regards,
Reply


Messages In This Thread
Character + cloth - by aqualonix - 20-12-2021, 05:08 PM
RE: Character + cloth - by josemendez - 21-12-2021, 08:21 AM
RE: Character + cloth - by aqualonix - 24-01-2022, 01:03 PM
RE: Character + cloth - by josemendez - 26-01-2022, 03:07 PM
RE: Character + cloth - by aqualonix - 29-01-2022, 07:10 AM
RE: Character + cloth - by josemendez - 30-01-2022, 05:37 PM
RE: Character + cloth - by aqualonix - 30-01-2022, 06:54 PM
RE: Character + cloth - by josemendez - 31-01-2022, 10:17 AM