working on animation stuff again, with pivot points
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user