Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Particle Attachment on expanding rope
#3
(26-06-2024, 09:39 AM)josemendez Wrote: Hi!

I assume you're attaching the closest particle first, then when the user pulls the rope you detect the amount of stretch in the rope and increase its length based on this? As long as the attachment is behind the cursor and you're only increasing its length (that is, the particle is not in front of the cursors and it consumes particles until the attached particle is gone from the rope) then it should work fine.

Exactly I'm attaching the particle first, then I get the distance from the initial position to a new one each frame an increase the length of the rope, it works fine sometimes, so I get it has to do with the cursor position, I'll try to fix that.


Quote:When you say "gets stuck as if attached to a world position" do you mean stuck in the air and not following the attachment at all, or following the attachment but there's an offset/gap between the particle and the point you'd expect it to be attached to?


Yes stuck in the air and not following the attachment after some time / distance. It could be the same issue as above.

Should I move the cursor dynamically when extending the rope?
Reply


Messages In This Thread
Particle Attachment on expanding rope - by Balou - 26-06-2024, 01:43 AM
RE: Particle Attachment on expanding rope - by Balou - 26-06-2024, 02:52 PM