I'm trying to make a rubber band in Unity and I don't get out. I found this example but it's done in Actionscript Flash https://www.deviantart.com/willmh93/art/Ball-Elastic-142211333..... and I can't even convert the code to javaScript or C#. I managed to do something similar, but this one uses line renderer, and it's not so real. Sling Shot img
My simulation uses the Slingshot mechanism, but it doesn't benefit me. I want to have this rubber band and act on a draggable object. I don't need you to write me code, but give me some ideas or some sources from which I can orient myself, what and how to use it to get the same result.Thanks a lot.
I believe you are looking for Spring Joint:
https://docs.unity3d.com/Manual/class-SpringJoint.html
It allows you to attach 2 objects with springiness. I'm sure you can fiddle with the values to get a more 'rubber-band' feel.