A collider that takes an array of Line2D as input and outputs a collision shape chain following the lines
- Put this script anywhere in the project
- Attach this script to the bodies you want
- Create a line anywhere in the scene (doesn't have to be shown) and use the built-in line tools to modify it
- Expand the list in the exported variables list (on the right) to how many lines you want colliders for
- Assign each node path to each line node
Make the script work with rotation and scale