Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rope following nozzle problem
#3
(23-06-2021, 01:35 PM)josemendez Wrote: Hi there!

Correct update order in Unity is key. Make sure you update the nozzle transform before simulation. Otherwise, the nozzle will move after the rope has been simulated every frame, resulting in a delay.

When using ObiFixedUpdater (the default updater component), the simulation is updated in FixedUpdate() which happens before Update(). See:
https://docs.unity3d.com/Manual/ExecutionOrder.html

Either subscribe to the solver's OnBeginStep event and update the nozzle movement there, or use ObiLateUpdater.

Thanks for the quick answer! Changing to Obi Late Updater did the trick ;-)
Reply


Messages In This Thread
Rope following nozzle problem - by hjbaard - 23-06-2021, 12:26 PM
RE: Rope following nozzle problem - by josemendez - 23-06-2021, 01:35 PM
RE: Rope following nozzle problem - by hjbaard - 24-06-2021, 04:34 AM