onescopeCookbook
onescope cookbook
Inspect simulations
Debug running game physics live in C#Attach OneScope to an instrumented OnePhysics game, inspect its live replay, and seek through the received steps without pausing the host.Visualize a navmesh and crowds in C#Record a OnePath crowd in C#, open its navigation mesh in OneScope, and inspect character paths, targets, and intermediate replay steps.Let an AI assistant inspect a simulationExpose OneScope simulation inspection through the Model Context Protocol: open a live shell, connect a stdio client, and seek and inspect recorded state.Write a custom replay viewer module in C#Implement the OneScope SDK interfaces for a custom deterministic simulation, load the module assembly, and inspect a runnable counter replay.
Replays and debugging
View a physics replay in C#Open a OnePhysics replay with OneScope, scrub its timeline and inspect body properties. Includes a recorded sample and a runnable .NET 10 example.Render replay frames to PNG headlessRender a OnePhysics simulation replay to PNG without a window using OneScope. Capture one step or a numbered sequence with a frame manifest.Debug a determinism desync in C#Find the first divergent simulation step and differing entity field with OneScope. Run a controlled replay comparison and inspect shared entities.Fork and change a simulation replayFork a OnePhysics replay, apply an impulse, compare it with the original and save the branch. Includes a runnable OneScope example for .NET 10.