I have a very simple scene in Unity with the scene controller at the top, followed by the camera (with a directional light attached), and a model.
It’s basically just a arc rotate camera that rotates around an Earth model. It works perfectly on Desktop browsers, but when I tested it on Chrome and Safari on IOS, it cannot be interacted with. In other words, dragging on the screen does nothing.
Here is how my scene controller and camera rig are setup:
Yo @Stefan … I do have touch-action=none on the body … Where did you add… Can you show me a screen shot please so i can figure out what going on with that ?
I just added the HTML attribute directly to the body in the index.html inside the outputted Export folder.
My html, body css matches what you posted… so… maybe it is getting overridden somewhere?
Ah, thank you! To clarify for anyone who comes across this in the future, you need to specify touch-action: none in two places: in the HTML (for browsers that do not support pointer-events and in the CSS (for browsers that do support pointer-events.