diff --git a/api/components/rigidbody.py b/api/components/rigidbody.py index 325ae93a18fad705afc83d40575e1c8011253f09..7c08b2ef537fd009d4a10cec73d2575eabcbbaf7 100644 --- a/api/components/rigidbody.py +++ b/api/components/rigidbody.py @@ -131,6 +131,7 @@ class Rigidbody(Component): def check_circle_polygon_collision(self, other: PolygonCollider) -> tuple: for i in range(len(other.mesh.points)): p1: Vector2 = other.mesh.points[i] + p2: Vector2 = other.mesh.points[(i + 1) % len(other.mesh.points)] edge: Vector2 = p2 - p1 edge_length: float = edge.length() diff --git a/data.json b/data.json index a8ce6cab710bb61c2eaa63401700fb512c1f349a..551325dfd6c51b296d53b36cbd715d681b2a4140 100644 --- a/data.json +++ b/data.json @@ -1 +1 @@ -{"scoreboard": {"Player": 6975}} \ No newline at end of file +{"scoreboard": {"Player": 11095}} \ No newline at end of file