Turret rotation ghost plan fix

This commit is contained in:
Anuken
2025-09-27 00:36:35 -04:00
parent 840ac5f913
commit e79fa75f8b
4 changed files with 8 additions and 4 deletions
+2
View File
@@ -114,6 +114,8 @@ public class Block extends UnlockableContent implements Senseable{
public boolean rotateDraw = true;
/** if rotate is true and this is false, the region won't rotate when drawing in the editor */
public boolean rotateDrawEditor = true;
/** visual rotation offset used in broken plan rendering */
public float visualRotationOffset = 0f;
/** if rotate = false and this is true, rotation will be locked at 0 when placing (default); advanced use only */
public boolean lockRotation = true;
/** if true, schematic flips with this block are inverted. */
@@ -160,6 +160,7 @@ public class Turret extends ReloadTurret{
quickRotate = false;
drawArrow = false;
rotateDrawEditor = false;
visualRotationOffset = -90f;
}
@Override