09-06-2025, 04:33 PM
Hello, i am having the same issue and i tried all the methods suggested here.
this is my code snippet
if (rope.isLoaded)
{
for (int i = 0; i < rope.solverIndices.count; ++i)
{
int solverIndex = rope.solverIndices[i];
Vector3 particlePos = rope.solver.renderablePositions[solverIndex]; //rope.solver.positions[solverIndex];
Debug.Log($"particle{solverIndex} position {particlePos}");
}
}
and the output is always the same position for all the particles with both methods.
Any other suggestion??
this is my code snippet
if (rope.isLoaded)
{
for (int i = 0; i < rope.solverIndices.count; ++i)
{
int solverIndex = rope.solverIndices[i];
Vector3 particlePos = rope.solver.renderablePositions[solverIndex]; //rope.solver.positions[solverIndex];
Debug.Log($"particle{solverIndex} position {particlePos}");
}
}
and the output is always the same position for all the particles with both methods.
Any other suggestion??