Skip to content

UMjSimulationState

Container for a complete MuJoCo simulation state snapshot.

This object stores a serialized physics state which can be restored later to return the simulation to an exact point in time.

Attribute Value
Kind Class
UE Macro UCLASS
Inherits UObject

Properties

Public Properties

Property Type Description
StateVector TArray<double> The raw state vector captured via mj_getState.
StateMask int32 The mjtState bitmask used to capture this state.
SimTime float The simulation time when the snapshot was taken.

StateVector

The raw state vector captured via mj_getState.

  • Type: TArray

StateMask

The mjtState bitmask used to capture this state.

  • Type: int32
  • Editor: 👁 VisibleAnywhere
  • Blueprint: 🟢 ReadOnly
  • Category: MuJoCo|Snapshot

SimTime

The simulation time when the snapshot was taken.

  • Type: float
  • Editor: 👁 VisibleAnywhere
  • Blueprint: 🟢 ReadOnly
  • Category: MuJoCo|Snapshot