fix: Circle Collider2D Recalculate Wrong Calculation

This commit is contained in:
Syntriax 2024-01-25 21:52:40 +03:00
parent 601d15fa45
commit 3b83be695c
1 changed files with 1 additions and 1 deletions

View File

@ -10,5 +10,5 @@ public class Collider2DCircleBehaviour : Collider2DBehaviourBase, ICircleCollide
public Circle CircleLocal { get; set; } = new(Vector2D.Zero, 1f);
public override void Recalculate() => CircleWorld = Transform.TransformCircle(CircleLocal).Displace(Transform.Position);
public override void Recalculate() => CircleWorld = Transform.TransformCircle(CircleLocal);
}