23-12-2020, 02:44 PM
(This post was last modified: 23-12-2020, 02:45 PM by josemendez.)
(23-12-2020, 01:39 PM)asimofu_ok Wrote: Hi, I use ObiSkinnedCloth to a character's cloth.
I want to reset the cloth anytime.
But I didn't find any way to reset particles to skinned positions.
I tried to use ObiActor.ResetParticles() and to set Solver.restPositions to Solver.positions.
But cloth particles set just to first T-Pose positions.
You should set solver.positions to the values returned by Unity's BakeMesh function, or alternatively, set the "skin radius" of all skin constraints to zero. See: http://obi.virtualmethodstudio.com/tutor...aints.html