- Home /
Attach to cloth Unity5 - How to pull cloth objects instead of push?
I am trying to use Unity Cloth to make a somewhat passable rope type object that can be connected at both ends and possible swing as if the top was affixed to the ceiling and the bottom to a swinging / falling weight (think Home Alone paint bucket on the staircase scene).
In older versions of unity I was able to use the 'Attached Colliders' and afix it to the ends of cloth objects. If one end moved, the whole thing would deform and get pulled around as intended. I can't seem to get it to work with the newer cloth and most tutorials or videos or UnityAnswers questions I find are for the older system.
In the attached image I made a made a cloth with a cylinder mesh, and constrained the top vertices to keep it in place on the top. The two spheres in the image were one attempt to figure out how to use the 'new' collider types. I tried it with having them start as connected and then moving the bottom among other things but can't seem to replicate the effects.
TL;DR: I can make spheres that push the cloth around, but I can't 'attach' the cloth to a sphere and have it follow as the sphere drops with gravity or moves via scene view. I know I can make a rope / chain type object with joints but am trying to attain a more cloth-rope-looking thing.
Anyone have any ideas?
Thanks!