- Home /
Question by
sakraf · May 09, 2016 at 07:22 PM ·
2dmovement2d-physicsmovementsphysics 2d
2D Snail-like movement
Hello, I want to create a snail-like moving creature in 2D which is just made of muscles and nodes. The muscles can expand and contract and the nodes hold the muscles together. This is how I want my creature to move:
I tried doing this with changing the friction of the nodes on the surface and by changing the scale of the muscles but that didn't work. How do I do this?
snailmovement.png
(10.5 kB)
Comment
Answer by andrei2699 · May 12, 2016 at 07:57 PM
You can create an empty gameobject in which you put three sprites as children : two nodes and one muscle. Animate them by changing the node's position and the muscle's scale.
Your answer
![](https://koobas.hobune.stream/wayback/20220612080451im_/https://answers.unity.com/themes/thub/images/avi.jpg)