调整飞机座椅位置

This commit is contained in:
17146 2025-06-25 01:15:43 +08:00
parent f2cbf30cdf
commit 95ea8370b5
2 changed files with 2 additions and 2 deletions

View file

@ -654,7 +654,7 @@ public class A10Entity extends ContainerMobileVehicleEntity implements GeoEntity
Matrix4f transform = getVehicleTransform(1); Matrix4f transform = getVehicleTransform(1);
float x = 0f; 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; float z = 3.95f;
Vector4f worldPosition = transformPosition(transform, x, y, z); Vector4f worldPosition = transformPosition(transform, x, y, z);

View file

@ -273,7 +273,7 @@ public class Tom6Entity extends MobileVehicleEntity implements GeoEntity {
Matrix4f transform = getVehicleTransform(1); Matrix4f transform = getVehicleTransform(1);
float x = 0f; 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; float z = -0.4f;
int i = this.getSeatIndex(passenger); int i = this.getSeatIndex(passenger);