21-03-2023, 10:33 PM
Is it possible to edit the rope by code after it has been generated?
Just to exemplify what I would like to do, in the game we are going to have the rope in an initial state with a pin. As the player clicks on the board, we add new pins.
The idea is to make the rope go through these pins. So the idea was to pass the next rope position with a transform and increase its size. It is possible?
Another solution I was given was to generate another rope and delete the previous one quickly so the player doesn't notice, but I believe this is a very dirty solution.
Just to exemplify what I would like to do, in the game we are going to have the rope in an initial state with a pin. As the player clicks on the board, we add new pins.
The idea is to make the rope go through these pins. So the idea was to pass the next rope position with a transform and increase its size. It is possible?
Another solution I was given was to generate another rope and delete the previous one quickly so the player doesn't notice, but I believe this is a very dirty solution.