Demo in the browser using SDL3, OpenGL ES 2.0, Bullet Physics, and C++
Demo in the browser using pure WebGL 1.0, Ammo.js, and JavaScript

Demo in the browser using SDL3, OpenGL ES 2.0, Bullet Physics, and C++
Demo in the browser using pure WebGL 1.0, Ammo.js, and JavaScript

Source code of the first demo above: GitHub - ivan-enzhaev/first-and-third-person-movement-opengles20-sdl3-wasm-cpp · GitHub
Releases - Executables for Windows, Linux, Android, and WebAssembly
A complete multiplatform starter guide featuring a First-Person capsule controller, animated follower Y-Bot robots with 4-layer blend trees, Box3D 3D physics, Detour Crowd pathfinding, BehaviorTree.CPP logic, miniaudio 3D positional footstep sounds and 2D background music, with dual mobile touch controls across Windows, Ubuntu, Android, and WebAssembly (Emscripten).
Dear ImGui is used for Android joystick: