Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Could ObiSkinnedCloth reset all particles to skinned positions?
#1
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.
Reply
#2
(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
Reply
#3
I see. Thank you for replying.

I use Unity 2019.2 and Obi 5.3.
I think I must use Mesh baking.
Reply