fix: Circle Collider2D Recalculate Wrong Calculation
This commit is contained in:
parent
601d15fa45
commit
3b83be695c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue