02-07-2019, 03:05 PM
(02-07-2019, 01:06 PM)nimdanet Wrote: Thanks for your reply.
I see it's possible, but kinda hard. Look at my situation:
My rope is rotating on counter-clockwise (pink arrow)
I could check the distance from rope and player (green arrow) but this wasn't always true because I can get the same distance if the rope is behind me. To check this might be a little tricky.
The ideal solution would be to attach a unity trigger (blue box) to some of the particles. Is it possible?
Hi,
You could set the position of a trigger every frame, to be that of a particle / group of particles in the rope, using actor.GetParticlePosition(index). See:
http://obi.virtualmethodstudio.com/tutor...icles.html