Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Question About Making Grappling Hook
#2
You can't "rotate" a rope whilst being simulated, it makes no sense at all. Deformable objects in general (not just ropes) cannot be transformed using a single matrix, as rotations are rigid transforms by definition: https://en.wikipedia.org/wiki/Rigid_transformation

Even if you could rotate the entire rope, gravity would immediately make it point downwards again after rotating it... this approach is just not a good idea.

I'd use external forces to coerce the rope particles (or at least the last particle) into moving towards the player. The solver has a externalForces array that you can write per-particle forces into, same as you would set velocities or positions.
Reply


Messages In This Thread
RE: Question About Making Grappling Hook - by josemendez - 15-04-2020, 12:12 PM