Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speed Up Rope Tracing Attactchment?
#7
(21-06-2023, 01:59 PM)Renman3000 Wrote: Ok, thanks.

So upon further inspection i think the issue for me is that (since the effector has a renderer) the particle attachment of the rope, tied to the connector, is slightly behind the effector position, or the renderering itslef, of the rope is slightly behind. 

Assuming I am moving my effector in FixedUpdate, is there a way I can speed up the particle attachemnt, in tracing the pos of the effector?

Hi!

"tracing" as you call it is instant, there's no way to speed it up. Every FixedUpdate(), all rope particles attached to an object are set to the position they're attached to relative to the object. As long as the object is at its final position for that frame when the rope is updated, there will be no delay / gaps.

Also note that moving the effector in FixedUpdate() won't fix anything. It has to be moved before the rope simulation takes place in FixedUpdate(). That's why using one of the solver callbacks, or using a different ObiUpdater component to update the rope are the only robust solutions.
Reply


Messages In This Thread
RE: Speed Up Rope Tracing Attactchment? - by josemendez - 21-06-2023, 02:51 PM