Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Issues with Obi Cloth Simulation in Unity – "Shirt Exploding"
#2
(10-07-2024, 02:48 PM)gunmec Wrote: Hi everyone,

I'm having trouble with the Obi Cloth asset in Unity. I'm trying to fit a 3D shirt model onto a 3D human model, but the shirt behaves unpredictably and appears to explode.

Details:

- Unity Version: 2022.3.3f1
- Obi Cloth Version: 6.5.4

Setup:
- A human model with MeshCollider and ObiCollider
- A shirt model with ObiCloth, ObiClothRenderer, and a correctly assigned blueprint
- ObiSolver with 8 substeps and Max Depenetration set to 10

Problems:

The shirt tears and looks like it's exploding, even when initially not colliding with the body.

Error Message when Generating Blueprint:

NullReferenceException: Object reference not set to an instance of an object
Obi.ObiActorBlueprintEditor.Refresh () (at Assets/Obi/Editor/Common/Blueprints/ObiActorBlueprintEditor.cs:416)
...


(But I can click on Edit and see the particles of the shirt).

I've tried adjusting physical parameters like Stretch Compliance and Bend Compliance, but without success. Does anyone have any idea how I can fix this issue?

Thanks in advance for your help!

Hi!

Without taking a look at your setup it’s very difficult to diagnose this. If I had to guess, I would say scaling problems in your mesh’s transform (since you mention it happens even when the cloth doesn’t collide with anything) but this is just a shot in the dark.

Would it be possible for you to share a small project that exhibits this issue by sending it to support(at)virtualmethodstudio.com, so we can take a closer look? Thanks!
Reply


Messages In This Thread
RE: Issues with Obi Cloth Simulation in Unity – "Shirt Exploding" - by josemendez - 10-07-2024, 04:01 PM