Nice extension of a-frame, however, how to change controls depending on the device ? if (AFRAME.utils.device.isMobile()){ Dual Joysticks } else if (AFRAME.utils.device.isMobileVR()){ look controls } else { Mouse + Keyboard } Best, D.
Nice extension of a-frame, however, how to change controls depending on the device ?
if (AFRAME.utils.device.isMobile()){
Dual Joysticks
} else if (AFRAME.utils.device.isMobileVR()){
look controls
} else {
Mouse + Keyboard
}
Best,
D.