add collisionTypes
This commit is contained in:
@@ -258,7 +258,7 @@ class GameEngine extends EventManager{
|
||||
event.preventDefault();
|
||||
if (this.hero){
|
||||
if (!this.pointerControls.isLocked){
|
||||
this.hero.cameraZ += event.deltaY / 100;
|
||||
this.hero.cameraZ += event.deltaY * 0.005;
|
||||
}
|
||||
}else{
|
||||
this.camera.zoom -= event.deltaY / (1000 / this.camera.zoom);
|
||||
|
||||
Reference in New Issue
Block a user