link" href="#mujoco_py.MjSim.set_state" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the state from an MjSimState.
If the MjSimState was previously unflattened from a numpy array, consider
set_state_from_flattened, as the defensive copy is a substantial overhead
in an inner loop.</p>
<p>Args:
- value (MjSimState): the desired state.
- call_forward: optionally call sim.forward(). Called by default if</p>
<blockquote>
<div>the udd_callback is set.</div></blockquote>
</dd></dl>

<dl class="meth