I will regret this but for some reason I am lurking into bevy and rapier, it's a game engine and physic library that can work with it. Also raylib looks promising since in theory it can be used on Nintendo Switch and 3ds