Obi Official Forum
Help Cloth simulation slightly delayed - 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 simulation slightly delayed (/thread-923.html)



Cloth simulation slightly delayed - VrTech - 21-02-2019

The problem is when I trigger the obiCloth On it's slowly follow up. I don't know why?

[attachment=257]

This is when ObiCloh is Turn Off
[Image: giphy.gif]

And this is when it turned on
[Image: giphy.gif]


Any ideas?

Thank you!


RE: Cloth simulation slightly delayed - josemendez - 22-02-2019

(21-02-2019, 08:57 PM)VrTech Wrote: The problem is when I trigger the obiCloth On it's slowly follow up. I don't know why?



This is when ObiCloh is Turn Off
[Image: giphy.gif]

And this is when it turned on
[Image: giphy.gif]


Any ideas?

Thank you!

Cloth is updated during FixedUpdate, so if your character locomotion logic is performed in Update() or LateUpdate(), there will be a one-frame delay. Try to follow the CharacterCloth sample scene as closely as possible:

- CharacterController does its thing in FixedUpdate.
- The animator update mode is set to Animate Physics.


RE: Cloth simulation slightly delayed - VrTech - 25-02-2019

(22-02-2019, 08:10 AM)josemendez Wrote: Cloth is updated during FixedUpdate, so if your character locomotion logic is performed in Update() or LateUpdate(), there will be a one-frame delay. Try to follow the CharacterCloth sample scene as closely as possible:

- CharacterController does its thing in FixedUpdate.
- The animator update mode is set to Animate Physics.

I was working well however, I found the new problem with the Final IK Grounder.
When walking up the slope, the cloth position is not updating to match the Final IK position

I already put Final IK update before Obi Cloth

[Image: giphy.gif]

Please Help !!!


RE: Cloth simulation slightly delayed - VrTech - 25-02-2019

(25-02-2019, 01:47 AM)VrTech Wrote: I was working well however, I found the new problem with the Final IK Grounder.
When walking up the slope, the cloth position is not updating to match the Final IK position

I already put Final IK update before Obi Cloth

[Image: giphy.gif]

Please Help !!!

This is what I am using.

[attachment=258]