mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-02 12:23:47 +07:00
arc
This commit is contained in:
parent
9224120f5b
commit
29e0d4f2c2
@ -850,11 +850,6 @@ public class MobileInput extends InputHandler implements GestureListener{
|
||||
movement.set(targetPos).sub(player).limit(speed);
|
||||
movement.setAngle(Mathf.slerp(movement.angle(), unit.vel.angle(), 0.05f));
|
||||
|
||||
//pathfind for ground units
|
||||
if(!flying && !type.canBoost && !(unit instanceof WaterMovec)){
|
||||
movement.set(targetPos).sub(unit).limit(speed);
|
||||
}
|
||||
|
||||
if(player.within(targetPos, attractDst)){
|
||||
movement.setZero();
|
||||
unit.vel.approachDelta(Vec2.ZERO, type.speed * type.accel / 2f);
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=0fafa5b7159c2a6c11f03ebd378a47736101b46e
|
||||
archash=c26572df6b690a114702bac5af50d4fb72940b77
|
||||
|
Loading…
Reference in New Issue
Block a user