Scripting API
Scripting API
EdgeCollider2D
Struct in Abyss.Physics2D, from Abyss.Physics2D.
A line of edges an entity meets things with, one way or the other: ground's outline, a slope, a ledge.
public struct EdgeCollider2DFields
Points
public FixedList32<Vector2> PointsThe points the line goes through, in order, in the entity's own units.
Offset
public Vector2 OffsetWhere its points are from, from the entity's middle.
IsTrigger
public bool IsTriggerWhether it meets nothing and is told of what enters it.
Material
public AssetRef<PhysicsMaterial2D> MaterialWhat it is made of; none for Physics 2D's settings' default.
