调整A10乘客位置

This commit is contained in:
Light_Quanta 2025-05-14 21:36:34 +08:00
parent d6a90265ba
commit 3b28d5cac0
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959

View file

@ -727,12 +727,9 @@ 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 y = -0.2f;
float z = 3.95f; float z = 3.95f;
// TODO 正确调整乘客位置
y += (float) passenger.getVehicleAttachmentPoint(this).y;
int i = this.getSeatIndex(passenger); int i = this.getSeatIndex(passenger);
if (i == 0) { if (i == 0) {