From 95ea8370b5126546bfa5bef56ff0153be7fa430d Mon Sep 17 00:00:00 2001 From: 17146 <1714673995@qq.com> Date: Wed, 25 Jun 2025 01:15:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A3=9E=E6=9C=BA=E5=BA=A7?= =?UTF-8?q?=E6=A4=85=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/atsuishio/superbwarfare/entity/vehicle/A10Entity.java | 2 +- .../com/atsuishio/superbwarfare/entity/vehicle/Tom6Entity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/A10Entity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/A10Entity.java index d68b33850..429c59526 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/A10Entity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/A10Entity.java @@ -654,7 +654,7 @@ public class A10Entity extends ContainerMobileVehicleEntity implements GeoEntity Matrix4f transform = getVehicleTransform(1); float x = 0f; - float y = 0.1f + (float) passenger.getVehicleAttachmentPoint(this).y; + float y = -1.0f + (float) passenger.getVehicleAttachmentPoint(this).y; float z = 3.95f; Vector4f worldPosition = transformPosition(transform, x, y, z); diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Tom6Entity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Tom6Entity.java index 148331095..3c401aad7 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Tom6Entity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Tom6Entity.java @@ -273,7 +273,7 @@ public class Tom6Entity extends MobileVehicleEntity implements GeoEntity { Matrix4f transform = getVehicleTransform(1); float x = 0f; - float y = 0.45f + (float) passenger.getVehicleAttachmentPoint(this).y; + float y = -0.45f + (float) passenger.getVehicleAttachmentPoint(this).y; float z = -0.4f; int i = this.getSeatIndex(passenger);