File tree Expand file tree Collapse file tree
src/gameobjects/tilemap/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ var SetTileCollision = require('./SetTileCollision');
22var CalculateFacesWithin = require ( './CalculateFacesWithin' ) ;
33
44/**
5- * Sets collision on the tiles within a layer by checking if the tile has a collision group
6- * (typically defined in Tiled within the tileset collision editor). If any collision objects are
7- * found , the tile's colliding information will be set. The `collides` parameter controls if
8- * collision will be enabled (true) or disabled (false).
5+ * Sets collision on the tiles within a layer by checking each tile's collision group data
6+ * (typically defined in Tiled within the tileset collision editor). If any objects are found within
7+ * a tile's collision group , the tile's colliding information will be set. The `collides` parameter
8+ * controls if collision will be enabled (true) or disabled (false).
99 *
1010 * @param {boolean } [collides=true] - If true it will enable collision. If false it will clear
1111 * collision.
You can’t perform that action at this time.
0 commit comments