Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Moving Local-Space Solver causes child Cloth to jump & tear?
#2
(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:

[Image: 1LnwSKn.png]

What I am observing, the moment of the parent Transform 'teleport', the TearableCloth is locally offset for one frame:
[Image: MP3x2l5.png]

At the next frame, we see the Cloth 'stretching' back:
[Image: tavErpN.png]

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...
Reply


Messages In This Thread
RE: Moving Local-Space Solver causes child Cloth to jump & tear? - by josemendez - 17-06-2019, 07:00 AM