From dbbce6545c30f398cbc284a6078893574536b55e Mon Sep 17 00:00:00 2001 From: Kylogias <45217130+Kylogias@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:52:52 -0400 Subject: [PATCH] Include how to use in README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 3f7f789..d14dde7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ # godot-line-collider-2d A collider that takes an array of Line2D as input and outputs a collision shape chain following the lines +## How to use +1. Put this script anywhere in the project +2. Attach this script to the bodies you want +3. Create a line anywhere in the scene (doesn't have to be shown) and use the built-in line tools to modify it +4. Expand the list in the exported variables list (on the right) to how many lines you want colliders for +5. Assign each node path to each line node + ## TODO Make the script work with rotation and scale