Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cloth penetration on animated mesh
#4
(20-11-2019, 06:01 PM)Jonathan Wrote: Thx for your quick answer.

Yes, i am using LateFixedUpdater and solver interpolation is set to none.
I found a workaround adding a LateUpdater component in addition to the LateFixedUpdater. Obviously performance is affected but simulation is perfect.

Do you have another idea for me? To preserve performance.   Sonrisa

Try removing the LateFixedUpdater. Having two updaters for the same solver means you're updating the solver twice per frame, essentially doing double the work. This specifically advised against in the docs:
http://obi.virtualmethodstudio.com/tutor...aters.html

If it works for you using the LateUpdater but not the LateFixedUpdater, it means the animation isn't being updated during FixedUpdate for some reason, despite the Animator being set to AnimatePhysics. Or to be more specific, bone positions are not final after FixedUpdate(). Should take a closer look to it. Will try to reproduce and get back to you asap Sonrisa

Edit: are you using IK, or any other system that modifies the bone transforms after animation?
Reply


Messages In This Thread
Cloth penetration on animated mesh - by Jonathan - 20-11-2019, 04:23 PM
RE: Cloth penetration on animated mesh - by josemendez - 20-11-2019, 08:12 PM