Written in Golang, using OpenGL
First do
go mod tidy
Then you can launch it with
go run main.go
You will need to adjust the scene.yml to add your own models
Configure named scene modes in config.yml:
defaultSceneMode: mode loaded at startup (if present)sceneModes: map of mode name to scene YAML path
You can switch scene modes at runtime from the UI (Get Scene Modes -> Load Selected Scene Mode).
G: toggle gravity on/offH: switch gravity axis (-Y/-Z) for world-space testingP: toggle player gravity mode (camera uses collider + gravity)Space: jump when player gravity mode is enabled and groundedB: toggle collision debug boxes (red=model, yellow=mesh, green=player)Z: toggle wireframe modeF: toggle flashlight