WebGL - Mobile Talk Button

Original Discord Post by catboiler | 2024-10-07 14:28:50

Hi there, is it possible to have the mobile talk button available for the WebGL SDK. In testing, it loads on an iPhone browser, but I can’t use it as can’t press T to talk…

Reply by k3kalinix | 2024-10-07 15:18:43

Hello <@178079698574639104>,

Currently, our WebGL Demo scene is not mobile compatible. However, it will be compatible in future updates. In the meantime, you can check out the Talk Button Script in the mobile demo scene of the Convai Core SDK and implement it to your WebGL project.

Reply by catboiler | 2024-10-07 19:13:01

Thanks. I thought it wasn’t mobile compatible, but it actually does load in Chrome on my iPhone :slightly_smiling_face: I will try and implement the mobile talk button, see if I can get it to work

Reply by k3kalinix | 2024-10-07 23:05:00

Yes, it should work.

Reply by catboiler | 2024-10-11 07:44:16

Update: It doesn’t work. There’s a script error when importing across the Convai Talk Handler script. Something about Line 94 - Set PLayer Actions I think. I’ve deleted it now. Shame. My client was getting very excited at the prospect of it working on mobile browsers.

Reply by k3kalinix | 2024-10-11 07:45:28

Of course it won’t work directly. Please try to understand the code.

This conversation happened on the Convai Discord Server, so this post will be closed.