playMaker

Author Topic: Help with drawing body parts  (Read 1134 times)

Romainhd

  • Playmaker Newbie
  • *
  • Posts: 2
Help with drawing body parts
« on: November 24, 2020, 10:23:45 AM »
Hello :)
I want that the player can draw a line with the mouse, all over the 2D map, topdown. The start point is the head of a snake, and from there a line can be drawn which then spawns 12 body parts of that snake, each part can be destroyed by ennemies etc. If, lets say, body part number 8 is destroyed, the player can then draw just 7 body parts with a new line. The length of each body part must stay the same. And when the line is drawn, the 12 parts should look like one body, so each part must connected properly to the next, even if its round/curved. I am pretty new to playmaker, but this one is really hard to do now. I tried with triggers, but that works just in one axis. I guess it must work with line renderer, array, but dont know how to set it up :( Thanks a lot :)