I’m trying to make a camera responsive on mobile. The scene is built and exported from the Editor, using the Editor Camera (which should be the new universal camera with built-in touch). But simply does not work.
I did add to the html:
script src=“https://code.jquery.com/pep/0.4.3/pep.js”
and
#renderCanvas {
touch action: none;
-ms-touch-action: none;
}
@a_bolog good catch, I’m having a look and fixing it
Thanks for reporting!
@julien-moreau
Oke cool, I thought I was doing something wrong.
And could you help me out with a script to fix it? As I need to launch it in two days.
I’d be greatful.
@a_bolog you can add the touch support in your script like this:
scene.activeCamera.inputs.addTouch()
You can add it in your game.ts file 
@julien-moreau
Hmm, I receive this error when I try to yarn build it.
src/game.ts:62:33 - error TS2339: Property ‘addTouch’ does not exist on type ‘CameraInputsManager’.
game.ts looks like this:
https://paste.ofcode.org/37m3hgCK9A4nQdhW4vA6Q2D
Looks like a typings issue
Try to cast the .inputs member to FreeCameraInputs or something like this