Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  problem of particle position
#1
Hi bro.
I make a rope and move it in runtime.
Now,i want to get some particles world position but i failed.

I use   
Code:
actorIndex = rope.blueprint.groups[0].particleIndices[0]
to get actor index of this particle.

And i use
Code:
solverIndex = actor.solverIndices[actorIndex]
to get solver index of this particle

Finally,i use
Code:
position = actor.GetParticlePosition(solverIndex);
to get world position of this particle

Problem is this position is not change when i move rope, so i think maybe it is a local position.
Could you help me to get world position of particle?
Think you,waiting for you repose.
Reply


Messages In This Thread
problem of particle position - by FZMv587 - 23-12-2020, 02:11 PM
RE: problem of particle position - by josemendez - 23-12-2020, 02:42 PM
RE: problem of particle position - by FZMv587 - 23-12-2020, 03:04 PM
RE: problem of particle position - by josemendez - 23-12-2020, 04:38 PM