How do I get a cable to realistically follow the back of my security camera when it moves? I want this cable to stay attached to the post and the security camera while the camera rotates. I would like to prevent unrealistic stretching. I've tried using hooks with vertex groups but the end caps just stretch and the cable doesn't move. I'm not sure if I need cloth physics or soft body physics or something else.
A way to do it is to use a curve for the cable.
You can hook the curve handle linked to the camera to an empty. Then parent this empty to another one driving the camera rotation.