levigilbert / godot-LDtk-import

Basic GDscript for importing LDtk files into the Godot game engine.
MIT License
126 stars 15 forks source link

Collisions preset not working. #14

Closed tygutowski closed 2 years ago

tygutowski commented 3 years ago

The collisions preset does nothing. I have the preset enabled on the import tab, and in LDtk I've created a layer named "Collisions," but no colliders are generated when reimporting .ldtk file.

levigilbert commented 2 years ago

I just updated the collisions code and it should be working.

Currently how to use this feature:

  1. Create an IntGrid layer named: "Collisions".
  2. Place tiles in the layer where you want collision boxes.
  3. Select your ldtk file in Godot and under the import tab check "Import Collisions".