Disabled missile unit collisions

This commit is contained in:
Anuken
2021-12-07 18:08:49 -05:00
parent 0b7d8f371e
commit b3d2e7b0ca
5 changed files with 12 additions and 35 deletions

View File

@@ -36,9 +36,9 @@ public class PhysicsProcess implements AsyncProcess{
return false;
});
//find Unit without bodies and assign them
//find Units without bodies and assign them
for(Unit entity : group){
if(entity == null || entity.type == null) continue;
if(entity == null || entity.type == null || !entity.type.physics) continue;
if(entity.physref == null){
PhysicsBody body = new PhysicsBody();