Scripting API

Scripting API

TilemapCollider2D

Struct in Abyss.Physics2D, from Abyss.Physics2D.

The outline of the Tilemap on its entity, which it meets things with: a loop round each region of solid tiles joined by their sides, each straight run of it one edge — no seam between two tiles for what slides along it to catch on — and the top of each row of one-way tiles, met from above alone. Which a tile is, Solid, None or One-Way, its slice says, as the Tile Palette sets it; made again as the tiles change.

public struct TilemapCollider2D

Remarks

Its one-way tiles are a one-way platform as a Platform Effector 2D on its entity says, or met from along its entity's up, half round, where it has none; its solid tiles are met from every side whatever the effector says.

Fields

IsTrigger

public bool IsTrigger

Whether it meets nothing and is told of what crosses its outline.

Material

public AssetRef<PhysicsMaterial2D> Material

What it is made of; none for Physics 2D's settings' default.