Hello, i have a camera and i want make it tilt down when i press a key and it work, but when the key is pressed the mouse don’t move so don’t allow me to click. Here is the code
if (context.keyboard.isPressed(pc.input.KEY_G) && this.type===3){
var a=this.entity.getLocalEulerAngles().x;
this.entity.rotateLocal(a-45,0,0);
this.entity.translateLocal(1,0,0);
}