Scripting API
Scripting API
CircleCollider2D
Struct in Abyss.Physics2D, from Abyss.Physics2D.
A circle an entity meets things with, scaled by the larger of the entity's X and Y.
public struct CircleCollider2DFields
Radius
public float RadiusHow far its edge is from its middle.
Offset
public Vector2 OffsetWhere its middle is, from the entity's.
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.
Density
public float DensityHow heavy it is for its size, in kilograms a square meter: what its body's mass is worked out from where its Rigidbody 2D says Use Auto Mass.
