Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Pull particles in a given direction
#1
Hello!
We would like to move a “liquild” bulge along the rope but with a few nuances.


First I’ll describe what we tried. We tried putting a ring-like collider on a rope and moving it along the rope with force. But the ring would get stuck where the rope bends and at places where a particle is attached with ObiParticleAttachment.


We also tried building a level with two ropes and a ball going between them. But it negatively impacted performance and the ball would still get stuck at ParticleAttachments.


We then saw your post where you referenced the hose example (http://obi.virtualmethodstudio.com/forum/thread-2539.html). It could work for us but we can not quite figure out how to hook it up with player input.
Simply put, the bulge should follow the mouse position, but if the player tries to pull the bulge “outside” the rope, doing so should pull the rope (see picture for a graphic explanation).


I assume it could be implemented similar to ObiRopeAttach.cs example. But the question is, is it possible to pull particles in a given direction? Any other advice on the matter would be appreciated too.


Thank you!


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Pull particles in a given direction - by xkalibrx - 19-05-2021, 05:09 PM