Skip to content

CircleShape.Offset Property

Definition

Namespace: Brine2D.Physics

Local-space offset of the circle center from the body origin in pixels. Use this to position the circle away from the body pivot on compound bodies. Default is System.Numerics.Vector2.Zero.

C#
public System.Numerics.Vector2 Offset { get; init; }

Property Value

System.Numerics.Vector2