Walker in tech tree
This commit is contained in:
@@ -59,7 +59,7 @@ public class PhysicsProcess implements AsyncProcess{
|
||||
PhysicRef ref = entity.physref;
|
||||
|
||||
ref.body.layer =
|
||||
entity.type.allowLegStep ? layerLegs :
|
||||
entity.type.allowLegStep && entity.type.legPhysicsLayer ? layerLegs :
|
||||
entity.isGrounded() ? layerGround : layerFlying;
|
||||
ref.x = entity.x;
|
||||
ref.y = entity.y;
|
||||
|
||||
Reference in New Issue
Block a user