Help Cloth not following animation when two obicloth used. - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html) +--- Thread: Help Cloth not following animation when two obicloth used. (/thread-887.html) |
Cloth not following animation when two obicloth used. - BradSama - 11-02-2019 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. RE: Cloth not following animation when two obicloth used. - josemendez - 11-02-2019 (11-02-2019, 06:37 AM)BradSama Wrote: We are trying to use Obi cloth with the fighting game framework known as UFE. 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. RE: Cloth not following animation when two obicloth used. - BradSama - 11-02-2019 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=1FOS2AecAu44aev9cOtr_cRuWh4N1CQF5 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=1j2KGW3JXN-FfusjkszZu7iCtJpOgjxmv If I disable the treachcoat character that the mesh is working on the one that isn't working begins to follow animations. RE: Cloth not following animation when two obicloth used. - josemendez - 11-02-2019 (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. 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! RE: Cloth not following animation when two obicloth used. - BradSama - 11-02-2019 Thank you so much this fixed it perfectly!! |