MotionBricks Range
Generative motion meets a playable world
A third-person shooting range in which a local neural model generates the operator’s next movement. Physics and the player’s input still decide where that movement can go.

Can generated movement keep up with a player?
I wanted to test neural animation inside a game where the player can change direction before the model has finished its next segment. A generated walk is only useful here if it remains responsive to input and consistent with the physical world.
The range makes those constraints visible. The model proposes a future path, the player changes the target, and collision can prevent the character from going where the generated motion expected. The next generation has to begin from the character’s actual state.
A motion model inside a playable range
MotionBricks Range puts a 200-million-parameter generative motion model inside a third-person shooter prototype. The operator’s next movement is generated locally in the browser. The environment gives that movement something to contend with: obstacles to vault, props to hit, weapons to aim and a player who can change direction before a generation finishes.
The motion preview makes the process visible. Cyan-to-violet wireframes show the coming one to two seconds of generated movement, amber marks the target pose, green shows the conditioning context and rings indicate predicted footfalls. The player can inspect what the model is trying to do while watching what the character actually does.
From generated poses to responsive control
The TypeScript port of the MotionBricks SOMA runtime encodes recent context poses and desired targets into ONNX tensors, then decodes the resulting motion. Playback is asynchronous: the next generation starts from elapsed inference time and crossfades into the current segment. Walking, jogging, sprinting and aimed strafing use target windows drawn from sample clips.
Rapier moves a kinematic capsule along the generated root path. Collisions feed the character’s actual position back into subsequent generation. A small input assist makes movement respond immediately, with the displacement folded into the motion. Retargeting maps the 77-joint SOMA skeleton onto the operator; aim layers and inverse kinematics keep the weapon and hands aligned.
What the player can try
The range includes destructible crates, explosive barrels, hinged targets, glass, a cube pyramid and a plank tower. Controls cover movement, sprinting, crouching, aiming, jumping or vaulting, reloading, and switching between a rifle and rocket launcher. The preview and HUD can be toggled independently.
The model runs through WebGPU, with a slower WASM fallback, and is cached after its initial download. This remains an animation and interaction research prototype; device performance and browser support depend on the inference backend.
The trade-off is in the stride
The implementation keeps the inference pipeline, collision correction and input assist working together in the browser. Shorter generated segments can react sooner, but a span too short to contain a full stride can produce a shuffle. The project’s gait regression protects that specific trade-off.
The result is a working research prototype of local neural animation in a playable world. It demonstrates the integration; it leaves responsiveness, gait quality, browser performance and the player’s impression as separate things to judge.
Implementation at a glance
- Ports NVIDIA MotionBricks SOMA runtime to TypeScript.
- Runs ONNX inference through WebGPU, with a WASM fallback.
- Reconciles generated segments with Rapier collisions, immediate movement input, retargeting and weapon handling.
Project status
A browser animation research prototype. WebGPU and WASM offer different performance characteristics; this page does not promise compatibility across all devices.