Class MjOption
A model's physics options (mujoco.MjOption, model.opt): what Gymnasium's code reads of them. A
handle on the model, so it always reads the model's current values.
[PyName("MjOption")]
public sealed class MjOption
- Inheritance
-
MjOption
- Inherited Members
- Extension Methods
Properties
Timestep
The simulation time step in seconds (timestep); an env's dt is this times its frame skip.
Writable, as Python's is: the next physics step uses the new value.
[PyName("timestep")]
public double Timestep { get; set; }
Property Value
Remarks
Footgun: an env's frame rate (metadata["render_fps"]) was derived from the step at construction and is not
updated, as in Gymnasium.