I have been trying to find a solution for this for days.
From the Phaser 3 docs:
setCollisionFromCollisionGroup( [collides] [, recalculateFaces])
Sets collision on the tiles within a layer by checking each tiles collision group data (typically defined in Tiled within the tileset collision editor). If any objects are found within a tiles collision group, the tile’s colliding information will be set. The
collides parameter controls if collision will be enabled (true) or disabled (false).
Please could someone tell me how to define the collision group of a tile? Or at least point me in the right direction?
Is it defined as a custom property? And if so how do you call it? I tried everything but with no luck
I tried and tried and scouted the internet for days but with no success.
Many thanks in advance!