Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Garment explodes on Android, but not on Windows
#5
(05-11-2024, 08:23 AM)CptnFabulous Wrote: I figured as such. Unfortunately, I can't show the project files as I'm under an NDA.

I did some more testing, and discovered that the issue is related to some code responsible for stitching the fabric together. I haven't yet figured out how exactly that works, but the issue appeared after I upgraded both the Unity Editor (from 2021.3.3f1 to 2022.3.51f1) and Obi Cloth (from 6.5.4 to 7.0.3). So maybe some change was made to the stitching code between those versions.

Thoughts?

Alright it's been a while, but I did (sort of) figure it out. Turns out I had extra code that was adding the actors to the solver, by directly manipulating the list instead of using the dedicated function for it. Plus, they were being added elsewhere, so the glitch must have been caused by duplicate actor references.
I removed that line of code and the garment now doesn't explode, although now the collision is less accurate against the character model. I tried stuff like enabling solver interpolation and setting the character animator's update mode to 'Update Physics', but that stuff didn't work, so maybe I need to increase the solver iterations for collisions.
Reply


Messages In This Thread
RE: Garment explodes on Android, but not on Windows - by CptnFabulous - 19-12-2024, 07:16 AM