Skip to content

Commit

Permalink
remove strange static skip for collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
MondayHopscotch committed Jun 2, 2024
1 parent d889af5 commit b9c6f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion echo/Collisions.hx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class Collisions {
static var sqr:Array<QuadTreeData> = [];

public static function overlap_body_and_bodies_bounds(body:Body, bodies:Array<Body>, world:World, results:Array<Collision>) {
if (body.disposed || body.shapes.length == 0 || !body.active || body.is_static()) return;
if (body.disposed || body.shapes.length == 0 || !body.active) return;
var bounds = body.bounds();
qr.resize(0);
sqr.resize(0);
Expand Down

0 comments on commit b9c6f5c

Please sign in to comment.