Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Cloth not following animation when two obicloth used.
#1
We are trying to use Obi cloth with the fighting game framework known as UFE.

I have a character set up to have the simulation on a Vest the only issue I'm having is if we have the same character on screen. One character the cloth moves just fine while another the cloth doesn't follow character animation and is just floating.

Characters our instanced in to the scene, I also tested this with having a character in the scene with another instanced in. Instanced in character has Obi cloth working while the one in the scene doesn't doesn't follow the characters animation.

Is this a known issue with Obi cloth not working with two instances of the script running? Would be nice to find a fix for this issue cause Unity's component has just caused alot of problems for our project.

I have a video of this if anyone needs a visual of what's happening.
Reply
#2
(11-02-2019, 06:37 AM)BradSama Wrote: We are trying to use Obi cloth with the fighting game framework known as UFE.

I have a character set up to have the simulation on a Vest the only issue I'm having is if we have the same character on screen. One character the cloth moves just fine while another the cloth doesn't follow character animation and is just floating.

Characters our instanced in to the scene, I also tested this with having a character in the scene with another instanced in. Instanced in character has Obi cloth working while the one in the scene doesn't doesn't follow the characters animation.

Is this a known issue with Obi cloth not working with two instances of the script running? Would be nice to find a fix for this issue cause Unity's component has just caused alot of problems for our project.

I have a video of this if anyone needs a visual of what's happening.

Only thing that comes to mind: If both characters share the same solver, make sure there's not a warning message in the console stating there's not enough particles for both. In that case, increase the "max particles" setting in the ObiSolver component.

If this is not the case, a video of the issue would be helpful.
Reply
#3
How about two videos first video shows that this issue happens even in CharacterCloth scene if you have two trenchcoat characters in the scene.

https://drive.google.com/open?id=1FOS2Ae...uWh4N1CQF5


Next video shows this same issue happening in my own UFE scene. This is video from our project Terrordrome : Reign of the Legends.

https://drive.google.com/open?id=1j2KGW3...CtJpOgjxmv

If I disable the treachcoat character that the mesh is working on the one that isn't working begins to follow animations.
Reply
#4
(11-02-2019, 12:03 PM)BradSama Wrote: How about two videos first video shows that this issue happens even in CharacterCloth scene if you have two trenchcoat characters in the scene.

https://drive.google.com/open?id=1FOS2Ae...uWh4N1CQF5


Next video shows this same issue happening in my own UFE scene. This is video from our project Terrordrome : Reign of the Legends.

https://drive.google.com/open?id=1j2KGW3...CtJpOgjxmv

If I disable the treachcoat character that the mesh is working on the one that isn't working begins to follow animations.

Hi!

We could reproduce the issue, thanks for reporting it. Attached you'll find the fix: replace ObiSolver.cs and ObiArbiter.cs with the ones I'm providing.

Let me know how it goes!


Attached Files
.cs   ObiSolver.cs (Size: 30.03 KB / Downloads: 20)
.cs   ObiArbiter.cs (Size: 1.28 KB / Downloads: 9)
Reply
#5
Thank you so much this fixed it perfectly!!
Reply