This commit is contained in:
Anuken
2020-02-29 19:37:14 -05:00
parent 26c328ae34
commit 4b36a6d5bd
7 changed files with 21 additions and 12 deletions

View File

@@ -93,7 +93,7 @@ abstract class UnitComp implements Healthc, Velc, Statusc, Teamc, Itemsc, Hitbox
}
public void lookAt(float angle){
rotation = Angles.moveToward(rotation, angle, type.rotateSpeed);
rotation = Angles.moveToward(rotation, angle, type.rotateSpeed * Time.delta());
}
public void lookAt(Position pos){