Hi there,
Myself and another dev decided to use PlayCanvas at the weekend for a hackathon, mainly as a way to learn PlayCanvas.
One of the big issues we ran into on the 2nd / last day was UI. We were able to pull in an external website using a jQuery load into a div ( the jQuery code was pasted into a script, and the script loading order was set ).
We ran into two issues…
-
On mobile, touch no longer worked for rotating the object, when the UI was overlaid.
-
We couldn’t get the buttons working from the HTML that JQuery loaded into the div.
While the hackathon is over, I’d be keen to see if there is something simple that we missed in order to resolve the two issues above.
Here’s the link to the published version. Note that none of the buttons are set to interactive. If you try this with a mouse, you’ll be able to rotate the model, but on mobile you wont ( see 1 - when the UI is removed, you can rotate it OK on mobile )
The project is called Hackathon ( it’s a public project ), I’m not sure what link is required to share the project here so that it can be forked and tweaked.
If anyone can help I’d be very grateful.
Best regards…
Mal