Cable-Component
Cable-Component copied to clipboard
Unity cable component implementation similar to the Unreal Engine one based on verlet integration.
Cable ends are attached:  However, if I move the slingshot fast enough, the ends are dislocated: 
Made calculations in lateupdate with deltaTime compensation that makes the ends of the cable snap better to the objects. These changes were made for this project: https://www.youtube.com/watch?v=lVmLwRS0xu0 Signed-off-by: yossi cohen
I love the simplicity of the code and how the cable just works. But the cable doesn't take into account the objects around it. Can that be fixed please?