17-09-2019, 11:22 AM
Hi,
I want to have a rope hanging between two poles, representing an electrical cable. I created a rope object, assigned a line renderer to it and a curve editor.
Inside the curve editor I positioned the two points at the positions of the two poles, selected the first and last particle and assigned a handle for each. The distance iteration property of the obi solver is at 3. On the rope the distance constrain stretching scale is at 0.01 and all stiffnesses at 1.
If I hit play now (the in-editor-playing doesn't work for me) the rope hangs inbetween both points correctly, but in the middle it stretches way more than I would like it to stretch (far through the floor).
I read a little bit in the forum but the solutions provided don't help me like decreasing the time step of our whole game.
There must be a way to determine the length of a rope I believe? Could you give me a hint how to solve this issue?
Best regards,
Daniel
I want to have a rope hanging between two poles, representing an electrical cable. I created a rope object, assigned a line renderer to it and a curve editor.
Inside the curve editor I positioned the two points at the positions of the two poles, selected the first and last particle and assigned a handle for each. The distance iteration property of the obi solver is at 3. On the rope the distance constrain stretching scale is at 0.01 and all stiffnesses at 1.
If I hit play now (the in-editor-playing doesn't work for me) the rope hangs inbetween both points correctly, but in the middle it stretches way more than I would like it to stretch (far through the floor).
I read a little bit in the forum but the solutions provided don't help me like decreasing the time step of our whole game.
There must be a way to determine the length of a rope I believe? Could you give me a hint how to solve this issue?
Best regards,
Daniel