17-06-2019, 07:00 AM
(15-06-2019, 10:42 PM)jabza Wrote: ***Update: Setting Solver to LateUpdate appears to fix this, but should this even be needed? Not a desired solution. ***
Hi,
I have one ObiSolver set to Local-Space, with five TearableCloth actors as children.
When teleporting the parent GameObject of this Solver, the cloth appears to 'snap jump', and sometimes even causes tearing.
Implying forces from Global-Space are effecting the actors?
This has puzzled me, as I'd expect this behavour with a Global-Space Solver, but not Local.
Please see my Sovler configuration below - Obi version 4.1:
What I am observing, the moment of the parent Transform 'teleport', the TearableCloth is locally offset for one frame:
At the next frame, we see the Cloth 'stretching' back:
Again, I'd expect this behaviour if my Solver was global space, not local space. Is this a correct assumption?
Thanks again for the support, much appreciated.
Cheers,
Jabza
Where in Unity's update cycle are you moving the solver around? FixedUpdate, WaitForFixedUpdate, Update, LateUpdate...