限制三维客流镜头移动

This commit is contained in:
sunzhenyu 2020-12-01 10:27:02 +08:00
parent 01993cf65e
commit 5911e330bf

View File

@ -112,7 +112,7 @@ export function Jl3dTrafficTrain(dom,skinCode,routegroup,viewMap,initCode) {
camerass.position.z = -0.016;
controls.target = new THREE.Vector3(camerass.position.x+0.5,camerass.position.y-0.1,camerass.position.z);
controls.update();
// controls.enabled = false;
controls.enabled = false;
this.selectmodel = null;
// let mouse = new THREE.Vector2();