19-03-2024, 11:56 AM
Hi,
I have a rope with static attachment on one side and dynamic on the other. The rope should not stretch as there is an object on the dynamic attachment end. In editor, I can achieve that - distance constraints seem to work very well, even with low number of substeps (6). I can get the object hanging and the rope not stretching.
As soon as I build and run this example, the rope just stretches indefinitely with the object falling down (without changing the code).
I have tried with more substeps, but nothing seems to fix the issue in build.
Can you help me identify the problem? What are some of the things that you think can cause this behaviour?
TLDR; Different behaviour (distance constraints) in Editor and Build
Thanks in advance
I have a rope with static attachment on one side and dynamic on the other. The rope should not stretch as there is an object on the dynamic attachment end. In editor, I can achieve that - distance constraints seem to work very well, even with low number of substeps (6). I can get the object hanging and the rope not stretching.
As soon as I build and run this example, the rope just stretches indefinitely with the object falling down (without changing the code).
I have tried with more substeps, but nothing seems to fix the issue in build.
Can you help me identify the problem? What are some of the things that you think can cause this behaviour?
TLDR; Different behaviour (distance constraints) in Editor and Build
Thanks in advance