@@ -65,7 +65,7 @@ export default class CharactorManager {
video: [pointData.id],
reverse: this.app.camera.alpha - cameraAlphaAmend < 0
}
- window.connection.socket.emit("getPush", sendData)
+ // window.connection.socket.emit("getPush", sendData)
// todo
this.app.rotateCamera(this.app.camera.alpha - cameraAlphaAmend, () => {
@@ -25,6 +25,7 @@ export default class App {
camera1.angularSensibilityX /= 2;
this.camera = camera1
this.lastCameraAlpha = 0
+ this.cameraControlEnable = true
// 人物相机射线
this.ray = new BABYLON.Ray(new BABYLON.Vector3(0,0,0), new BABYLON.Vector3(0,0,1), 50);
@@ -210,7 +211,7 @@ export default class App {
reverse: dirc < 0
this.rotateCamera(alphaOffset)