Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope centre control
#1
Hello again. In my game there is an ObiRope stretched between two players. It can be lengthened and shortened (I do this thanks to cursor). I'm having trouble taking the centre of the rope and using DOTWEEN to animate moving the centre of the rope (like a hitch) to a certain position, with the characters hanging from both sides. Let me give you an example where you use a stick to lift the rope in the middle of its length. What is the best way to realise this? I created a group of particles and attached it to an empty object with components rigitBody and ObiCollider, but when you resize the rope via cursor this group of particles may disappear and when you increase the rope the attachment.target object appears outside the unity coordinates. In any case I think it is not the best idea to use particlesGroup on a rope dynamically changing its length. Maybe someone can tell me how to realise this feature in a stable way?
I also need the other player not to be suspended and be able to adjust the length of the rope while on one side of the chasm, while the other player can swing while hanging on his half of the rope above the chasm.
Reply


Messages In This Thread
Rope centre control - by Alexander34 - 21-09-2023, 05:48 PM
RE: Rope centre control - by josemendez - 22-09-2023, 08:55 AM
RE: Rope centre control - by Alexander34 - 22-09-2023, 03:17 PM
RE: Rope centre control - by josemendez - 22-09-2023, 08:13 PM