Browse Source

Slot not rotated twice.

master
MagicBot 1 year ago
parent
commit
bf1271c840
  1. 5
      src/engine/objects/Mob.java

5
src/engine/objects/Mob.java

@ -922,11 +922,6 @@ public class Mob extends AbstractIntelligenceAgent { @@ -922,11 +922,6 @@ public class Mob extends AbstractIntelligenceAgent {
this.bindLoc = building.getLoc().add(slotLocation);
// Rotate MOB by slot rotation
slotRotation = BuildingManager.getSlotLocation(building, slot).getRotation();
this.setRot(new Vector3f(0, slotRotation.y, 0));
}
// Rotate slot position by the building rotation

Loading…
Cancel
Save