Add Pitch/Yaw calculation with Vector
Dieser Commit ist enthalten in:
Ursprung
b800bdad29
Commit
be0f3728b5
@ -272,11 +272,11 @@ public class Config {
|
|||||||
double pitchInverted = pitch * -1;
|
double pitchInverted = pitch * -1;
|
||||||
double yawInverted = yaw + 180;
|
double yawInverted = yaw + 180;
|
||||||
|
|
||||||
TeamBlueSpawn.setYaw((float) yawInverted);
|
TeamBlueSpawn.setYaw((float) yaw);
|
||||||
TeamBlueSpawn.setPitch((float) pitchInverted);
|
TeamBlueSpawn.setPitch((float) pitch);
|
||||||
|
|
||||||
TeamRedSpawn.setYaw((float) yaw);
|
TeamRedSpawn.setYaw((float) yawInverted);
|
||||||
TeamRedSpawn.setPitch((float) pitch);
|
TeamRedSpawn.setPitch((float) pitchInverted);
|
||||||
|
|
||||||
SpecSpawn = new Location(world,
|
SpecSpawn = new Location(world,
|
||||||
TeamBluePasteX + TeamBluetoReddistanceX/2.0,
|
TeamBluePasteX + TeamBluetoReddistanceX/2.0,
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren