working on animation stuff again, with pivot points

This commit is contained in:
Halbear
2026-05-24 13:44:40 +01:00
parent c436a49b58
commit 6e42a9692e
@@ -51,7 +51,7 @@ public class VehicleBaseRenderer<T extends VehicleBaseEntity, M extends EntityMo
Vector3d OriginPosition = OriginOffset; Vector3d OriginPosition = OriginOffset;
switch(OriginType) { switch(OriginType) {
case PilotSeat: case PilotSeat:
OriginPosition.add(entity.GetPilotSeat().x,-entity.GetPilotSeat().y,entity.GetPilotSeat().z); OriginPosition.add(entity.GetPilotSeat().x,entity.GetPilotSeat().y,entity.GetPilotSeat().z);
break; break;
case EntityPosition: case EntityPosition:
break; break;