Better unit selection visuals / Bigger unit physics collision circles

This commit is contained in:
Anuken
2024-11-27 12:03:42 -05:00
parent d65f226b3a
commit ec0ba9f424
11 changed files with 79 additions and 38 deletions

View File

@@ -45,7 +45,7 @@ public class PhysicsProcess implements AsyncProcess{
body.x = entity.x;
body.y = entity.y;
body.mass = entity.mass();
body.radius = entity.hitSize / 2f;
body.radius = entity.hitSize * Vars.unitCollisionRadiusScale;
PhysicRef ref = new PhysicRef(entity, body);
refs.add(ref);