- Home /
2D Character should drag circles behind him as if they were collected by a string
Hi,
As the title says, I want my 2D Character to drag circles(which he collects before) behind him. I know this has to be done with joints somehow, but the circles should be dangling around the x axis. The character should basically drag a "tail" of circles behind him.
Does anyone know the best way to do this in 2D? The circles behind the character can actually be 3D Spheres.
Thank you for reading this and I appreciate any help.
Should they be able to drop to the ground? If so, when the character runs in one direction for a while and then stops, should the rings move all the way over to his position or just drop to the ground like a rope?
Answer by Shaolin-Dave · Jan 03, 2019 at 10:57 PM
Never done anything like this, but I suggest looking at HingeJoint2D. See if you can dynamically add/remove joints and attach your spheres to each one.
Your answer
![](https://koobas.hobune.stream/wayback/20220612185027im_/https://answers.unity.com/themes/thub/images/avi.jpg)