Adds a collision polygon to the tile on the given TileSet physics layer. Returns the one-way margin (for one-way platforms) of the polygon at index [code]polygon_index[/code] for TileSet physics layer with index [code]layer_id[/code]. Returns the points of the polygon at index [code]polygon_index[/code] for TileSet physics layer with index [code]layer_id[/code]. Returns how many polygons the tile has for TileSet physics layer with index [code]layer_id[/code]. Returns the constant angular velocity applied to objects colliding with this tile. Returns the constant linear velocity applied to objects colliding with this tile. Returns the custom data value for custom data layer named [code]layer_name[/code]. Returns the custom data value for custom data layer with index [code]layer_id[/code]. Returns the navigation polygon of the tile for the TileSet navigation layer with index [code]layer_id[/code]. Returns the occluder polygon of the tile for the TileSet occlusion layer with index [code]layer_id[/code]. Returns the tile's terrain bit for the given [code]peering_bit[/code] direction. Returns whether one-way collisions are enabled for the polygon at index [code]polygon_index[/code] for TileSet physics layer with index [code]layer_id[/code]. Removes the polygon at index [code]polygon_index[/code] for TileSet physics layer with index [code]layer_id[/code]. Enables/disables one-way collisions on the polygon at index [code]polygon_index[/code] for TileSet physics layer with index [code]layer_id[/code]. Enables/disables one-way collisions on the polygon at index [code]polygon_index[/code] for TileSet physics layer with index [code]layer_id[/code]. Sets the points of the polygon at index [code]polygon_index[/code] for TileSet physics layer with index [code]layer_id[/code]. Sets the polygons count for TileSet physics layer with index [code]layer_id[/code]. Sets the constant angular velocity. This does not rotate the tile. This angular velocity is applied to objects colliding with this tile. Sets the constant linear velocity. This does not move the tile. This linear velocity is applied to objects colliding with this tile. This is useful to create conveyor belts. Sets the tile's custom data value for the TileSet custom data layer with name [code]layer_name[/code]. Sets the tile's custom data value for the TileSet custom data layer with index [code]layer_id[/code]. Sets the navigation polygon for the TileSet navigation layer with index [code]layer_id[/code]. Sets the occluder for the TileSet occlusion layer with index [code]layer_id[/code]. Sets the tile's terrain bit for the given [code]peering_bit[/code] direction.