Skip to content

PhysicsBodyComponent.GroupIndex Property

Definition

Namespace: Brine2D.ECS.Components

Box2D collision group index. Positive values cause members of the same group to \<em>always\</em> collide with each other regardless of category/mask bits. Negative values cause members of the same group to \<em>never\</em> collide with each other. Zero (default) disables group-index logic and falls back to category/mask filtering.

public int GroupIndex { get; set; }

Property Value

System.Int32