Ludum Dare 55 entry
https://ldjam.com/events/ludum-dare/55/the-deep-madness
Unreal Engine 5.3 + Blueprints (sorry, no cpp in the public rep)
Feel free to use and modify, though it's a gamejam project made in ~2 days, the code is "fast" not efficient or neat.