Try pulling initial camera target from jsonEmpire
This commit is contained in:
parent
a2e8c2c199
commit
fc5fd9d2bd
@ -128,9 +128,9 @@ for (var key in jsonEmpire) {
|
||||
}
|
||||
|
||||
// Initial Target spot. UFP for convinence.
|
||||
controls.target.x = borders["UFP"].position.x;
|
||||
controls.target.y = borders["UFP"].position.y;
|
||||
controls.target.z = borders["UFP"].position.z;
|
||||
controls.target.x = jsonEmpire["UFP"].cenx;
|
||||
controls.target.y = jsonEmpire["UFP"].ceny;
|
||||
controls.target.z = jsomEmpire["UFP"].cenz;
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user