Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Gloth dragging behind parent, help
#5
(21-12-2020, 01:46 PM)josemendez Wrote: Yes. Unity cloth is updated in LateUpdate(), which results in highly unphysical simulation.

You can achieve the same in Obi by using the ObiLateUpdater component instead of ObiFixedUpdater. See:
http://obi.virtualmethodstudio.com/tutor...aters.html
http://obi.virtualmethodstudio.com/tutor...cture.html

In fact, you can update Obi whenever you want by writing your own Updater component. However I'd recommend doing the proper thing and just updating your input before physics.

Here's a comparison between Unity's built-in cloth and Obi. As you can see, updating  physics with a variable timestep causes cloth to jitter, gain momentum and never come to rest:

Awsome, thank you very much for the speedy response Sonrisa
Reply


Messages In This Thread
Gloth dragging behind parent, help - by zagoalie - 21-12-2020, 01:16 PM
RE: Gloth dragging behind parent, help - by zagoalie - 21-12-2020, 01:48 PM