Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope lags behind moving object in VR
#3
(23-05-2023, 12:24 PM)josemendez Wrote: Hi!

Make sure you're moving the object before the simulation takes place each frame. If you move the object after, then there will be a 1 frame delay as the rope simulation will react to the object's movement in the next frame.

There's many ways to do this, depending on what your setup is and how you're currently moving the object. For instance, using a different ObiUpdater component that ensures simulation happens after wherever you're updating the object, changing script execution order in case both the object and the solver are updated in the same Unity event, or using the ObiSolver callbacks to update your object.

kind regards,
Thanks. Changing ObiUpdater to LateFixedUpdate solved the issue. Sonrisa
Reply


Messages In This Thread
RE: Rope lags behind moving object in VR - by patrakus - 23-05-2023, 01:06 PM