Im making an game and i need the rear camera for mobile devices but i keep getting the front how i do i force it to use the rear camera ?
Develop games in your browser. Powerful, performant & highly capable.
Punch it with a hammer...
Actually I don't really know to be honest. If nobody else can help though, the hammer is probably a bad idea.
The built-in "Webcam" example shows how.