27-03-2018, 08:36 PM
(This post was last modified: 27-03-2018, 08:58 PM by usernameHed.)
After a few Failure, i come back to you...
I do not need math, I can handle it, but i need to find the right particle position depending of the rope, and i fail to find it...
I try your link
http://obi.virtualmethodstudio.com/tutor...icles.html
I manage to find the first particle:
actor.GetParticlePosition(0)
OK, but now, i want the "last": actor.GetParticlePosition(actor.velocities.Length - 1)
But it doesn't work...
Maybe this is caused by the 100 pooled particle ? so I do that:
actor.GetParticlePosition(actor.velocities.Length - 1 - rope.PooledParticle)
But no way...
I think i'm close, but i didn't manage to find THE point who are always close to the other extremity of the rope.
I you can help me i'm stuck on it since last time
Thanks
I do not need math, I can handle it, but i need to find the right particle position depending of the rope, and i fail to find it...
I try your link
http://obi.virtualmethodstudio.com/tutor...icles.html
I manage to find the first particle:
actor.GetParticlePosition(0)
OK, but now, i want the "last": actor.GetParticlePosition(actor.velocities.Length - 1)
But it doesn't work...
Maybe this is caused by the 100 pooled particle ? so I do that:
actor.GetParticlePosition(actor.velocities.Length - 1 - rope.PooledParticle)
But no way...
I think i'm close, but i didn't manage to find THE point who are always close to the other extremity of the rope.
I you can help me i'm stuck on it since last time
Thanks