Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Copy position from one rope to another
#3
(13-01-2022, 10:55 AM)josemendez Wrote: Hi!


Not sure what you mean by this, but keep in mind particle positions are expressed in solver space. So even if the position is the same, this position is expressed relative to the solver position.

Also, you probably want to copy renderablePositions instead of positions. The renderablePositions are the actual positions being rendered, and are generated from positions and previous positions using interpolation.


Simply disable the first solver. That will stop physics from being updated.

Sorry, I can't reproduce the bug where the rope 1 teleports to its physical position, so it must be a bad modification on my part ^^.

I tried using renderablePositions instead of positions, but the rope 1 seems de-synchronize with rope 0 (see https://imgur.com/a/7GklcBR).
When I disable the solver parent of rope 1, it stop completely the motion of rope 1, even if we hard set the position of particle with the code below (see https://imgur.com/SZu31aA).
Reply


Messages In This Thread
RE: Copy position from one rope to another - by lufydad - 13-01-2022, 11:33 AM