-
Notifications
You must be signed in to change notification settings - Fork 0
Loading data
Loading data can be done in two ways, either in the editor before runtime or without the editor at runtime.
In the editor, one can simply drag either the [CHID].smv-file or the [CHID]_smv.yaml into the content browser. The assets will be automatically created and saved to disk. Now drag a BP_Simulation (search for BP_Simulation in the content files) into the world to create a simulation instance, and select the [CHID].uasset asset in the Simulation property of the blueprint instance. Now, when starting the game, the simulation will be used.
When not using an editor, a simulation loading prompt will be opened where the path to the simulation files (either the [CHID].smv-file or the [CHID]_smv.yaml) and path to the save location of the created simulation assets have to be entered. After submitting the data, a simulation blueprint instance will be created automatically, which loads the simulation into the active game window.