From 842eabd32ecd22efc16ea4e1e97b60e20ca16649 Mon Sep 17 00:00:00 2001 From: Luca Puderbach Date: Sun, 20 Oct 2024 04:33:40 +0200 Subject: [PATCH] fixed shell pos --- .../src/main/java/pp/battleship/client/gui/ShellControl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projekte/battleship/client/src/main/java/pp/battleship/client/gui/ShellControl.java b/Projekte/battleship/client/src/main/java/pp/battleship/client/gui/ShellControl.java index 7ed8c49..dc8e696 100644 --- a/Projekte/battleship/client/src/main/java/pp/battleship/client/gui/ShellControl.java +++ b/Projekte/battleship/client/src/main/java/pp/battleship/client/gui/ShellControl.java @@ -36,7 +36,7 @@ public class ShellControl extends AbstractControl { @Override protected void controlUpdate(float tpf) { Vector3f pos = shell.getPosition(); - Vector3f fixed = new Vector3f(pos.z + 0.5f, pos.y, pos.x + 0.5f); + Vector3f fixed = new Vector3f(pos.z + 0.5f, pos.y + 2f, pos.x + 0.5f); fixed.setY(pos.y); spatial.setLocalTranslation(fixed); spatial.setLocalRotation(shell.getRotation());