Step sounds for smaller mechs (bad)

This commit is contained in:
Anuken
2025-12-05 20:35:59 -05:00
parent ee8a258447
commit 2aeebb5aea
10 changed files with 35 additions and 7 deletions

View File

@@ -379,7 +379,7 @@ public class AIController implements UnitController{
if(arrive){
Tmp.v3.set(-unit.vel.x / unit.type.accel * 2f, -unit.vel.y / unit.type.accel * 2f).add((target.getX() - unit.x), (target.getY() - unit.y));
if(unit.type.omniMovement){
if(unit.type.omniMovement || unit.type.rotateMoveFirst){
vec.add(Tmp.v3).limit(speed * length);
}else{
//directly move the unit to prevent a backwards movement vector from messing things up