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 yawInverted = yaw + 180;
|
||||
|
||||
TeamBlueSpawn.setYaw((float) yawInverted);
|
||||
TeamBlueSpawn.setPitch((float) pitchInverted);
|
||||
TeamBlueSpawn.setYaw((float) yaw);
|
||||
TeamBlueSpawn.setPitch((float) pitch);
|
||||
|
||||
TeamRedSpawn.setYaw((float) yaw);
|
||||
TeamRedSpawn.setPitch((float) pitch);
|
||||
TeamRedSpawn.setYaw((float) yawInverted);
|
||||
TeamRedSpawn.setPitch((float) pitchInverted);
|
||||
|
||||
SpecSpawn = new Location(world,
|
||||
TeamBluePasteX + TeamBluetoReddistanceX/2.0,
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren