Playcanvas does not have a built-in virtual joystick functionality for mobile correct? I have been getting my mobile buttons working so I can wire up the movement to them. Just wanted to make sure there was not a better way to do it?
I think this thread might be pretty helpful to you:
The cool thing about pc.ElementDragHelper() is that its drag events work with touch and mouse out of the box.