Open a simulation, inspect state and logs, control playback, set parameters, find bodies, and manipulate Rapier bodies.
get_simulation_state- Read state, globals, tick, entity count, and recent events from the active runtime.
find_simulation_bodies- Find worker-local Rapier bodies by stable ID, type, group, tag, body type, or shape. Optional position filters are evaluated on demand.
manipulate_simulation_body- Manipulate one exact worker-local Rapier body by stable entity ID.
rapier_command- Dispatch an advanced portable or native command inside the active Rapier worker. Bodies are addressed by stable entity ID and native objects remain worker-local.
dispatch_command- Start, pause, reset, or advance the active simulation session.
set_parameter- Set a declared runtime parameter on the active simulation.
open_simulation- Navigate the connected browser to a simulation.
get_simulation_logs- Read recent errors and logs from the active simulation runtime.