Hi again,
this thread is a continuation this one.
I am trying to load rope state after changing it's length in the previous run.
My workflow is as follows:
Saving:
1. Serialize position/orientation for each object I need
2. Serialize rope length changes throughout the run
3. Serialize particle positions and velocities
Loading:
1. Deserialize and set position/orientation for each object I need
2. Change rope for each entry in my serialized rope lengths field (got it from the post here)
3. Deserialize and set particle positions and velocities
The problem I encounter is that after initial position is correctly set, attachment particles jump to other position, and my attachment ends up with a big gap.
Here is the video:
https://streamable.com/4q8ib4
The particles seem to bee still attached, but attachment point should be as shown on this image:
https://ibb.co/2jbT9y2
Do you have any idea how to solve this?
Best regards
this thread is a continuation this one.
I am trying to load rope state after changing it's length in the previous run.
My workflow is as follows:
Saving:
1. Serialize position/orientation for each object I need
2. Serialize rope length changes throughout the run
3. Serialize particle positions and velocities
Loading:
1. Deserialize and set position/orientation for each object I need
2. Change rope for each entry in my serialized rope lengths field (got it from the post here)
3. Deserialize and set particle positions and velocities
The problem I encounter is that after initial position is correctly set, attachment particles jump to other position, and my attachment ends up with a big gap.
Here is the video:
https://streamable.com/4q8ib4
The particles seem to bee still attached, but attachment point should be as shown on this image:
https://ibb.co/2jbT9y2
Do you have any idea how to solve this?
Best regards