限制三维客流镜头移动
This commit is contained in:
parent
01993cf65e
commit
5911e330bf
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user