Skip to content

SubShape.GroupIndex Property

Definition

Namespace: Brine2D.ECS.Components

Box2D collision group index for this sub-shape. Overrides the owning body's GroupIndex for this shape only. Positive = always collide with same group, negative = never collide, 0 = use category/mask bits (default).

public int GroupIndex { get; set; }

Property Value

System.Int32