Webgl, Physics, Gamedev, Webdev, 3d.
you can use software bricks provided by the physics engine. Here, I detail two of them: setting inertia to 0 so shape doesn’t rotate and shape casting. Shape casting is like raycasting with thickness. Casting can be use full to detect if character is falling, if it’s on a platform or, less