调整A10乘客位置
This commit is contained in:
parent
d6a90265ba
commit
3b28d5cac0
1 changed files with 1 additions and 4 deletions
|
@ -727,12 +727,9 @@ public class A10Entity extends ContainerMobileVehicleEntity implements GeoEntity
|
|||
Matrix4f transform = getVehicleTransform(1);
|
||||
|
||||
float x = 0f;
|
||||
float y = 0.1f;
|
||||
float y = -0.2f;
|
||||
float z = 3.95f;
|
||||
|
||||
// TODO 正确调整乘客位置
|
||||
y += (float) passenger.getVehicleAttachmentPoint(this).y;
|
||||
|
||||
int i = this.getSeatIndex(passenger);
|
||||
|
||||
if (i == 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue