Scene Editor
The Scene Editor assembles a complete robotics environment in one file:
a base physics scene, the bots placed in it with their controllers, and the
prefabs that tasks can spawn into it. A SuperDex scene is a .superdex_scene
file, written as JSON, that references these assets rather than copying them, so
improvements to a bot or a prefab show up in every scene that uses it. Open a
scene, press Space, and the whole workcell simulates together.
A scene is configuration, not a control program. What it holds, and how an application loads and runs it, is covered in the SuperDex Robotics guide to SuperDex Scenes.


Creating a Scene
Right-click empty space in the Asset Browser and choose Create → Scene....
Studio adds an empty .superdex_scene to the current folder and
lets you name it. Double-click a .superdex_scene or .superdex_scene_archive
to open it.
A loose scene is the editable source file. Its assets stay separate: paths
resolve relative to the scene file or through tags such as @prefabs in a
.superdex_root marker. If Studio cannot write a reference, it warns beside
the slot. Keep the scene and its dependencies in a portable layout so another
checkout can open them without your local workspace settings.
Editor Windows
| Window | What you do there | Open by default |
|---|---|---|
| Scene Info | The scene's metadata, base scene, spawnable prefabs, bots, controllers, and slots. | Yes |
| Task Preview | Load and edit a task's spawned objects and termination criteria, and preview the objects in this scene. | Yes |
| Physics Settings | Simulation and debug-draw settings for this editor. | No |
Every edit restages the viewport immediately and is undoable with Ctrl+Z. The
viewport has no transform gizmo: place bots and objects numerically. Editing is
locked while the simulation runs.
Scene
The Scene section of Scene Info holds the environment:
- Base Scene is a prefab, usually a scene prefab, holding the fixtures. Its gravity, solver, and contact filter settings are the scene's.
- Task Root, when enabled, sets the task frame in the world. Place it at a meaningful origin, such as the tabletop. Top-level task objects are placed relative to this frame, or to the world origin if Task Root is off.
- Spawnable Prefabs is the catalog of objects a task can place. Use
+ Add Spawnable Prefab, assign a physics prefab, and give the entry a
unique, stable Name, such as
block. Listing it here does not place it in the scene, and spawning it does not change the base scene's physics settings.
Add an entry with its + button, reorder entries with the arrow buttons, and remove them with the trash button. The same controls work for every list in the window.
Bots
Each entry under Bots places one bot:
- Name identifies the bot in the scene; slots and controllers refer to it.
- Bot is the
.superdex_botor.superdex_bot_archiveto place. - Spawn Transform places it in the scene.
- Initial Pose sets the joint configuration it spawns in, with the same sliders as the Bot Editor's Default Pose. Picking another bot resets it to that bot's default pose.
- Controllers attaches controllers to the bot. Add Controller offers
the built-in controller types, or Custom... for a type registered by
your application. Each controller has a Name, a Type, and
Parameters: the type's defaults, a
.superdex_controllerfile (Open... or Save As...), or inline JSON.
A bot entry can also set "hasGravity": false in the scene file to build that
bot without gravity, as for a robot whose own controller compensates for it;
the scene's other actors keep their gravity. Studio has no control for this
setting, but it keeps it when saving the scene and simulates the bot without
gravity.

Slots
Slots describe roles that one of several bots can fill, such as a "right" arm that can be either of two arm-and-hand combinations. Add a slot, name it, and add the bots that can fill it. The radio button beside each bot picks which one the editor shows and simulates; this choice is a view setting and is not saved in the scene.
Tasks
A scene defines the workcell; a task (.superdex_task) defines which objects
start an episode and where. One scene can host many tasks, and the same task
can be previewed on another scene that offers the same spawnable names.
- Prepare the objects. Open or create their assets in the Prefab Editor. Check collision geometry and, if the object will be visible to a renderer, its render model. Register each prefab under Scene Info → Scene → Spawnable Prefabs, then save the scene.
- Open a task. Use Create → Task... in the Asset Browser, or duplicate a task whose setup you want to reuse. With the scene active and stopped, use Task Preview → Load Task... or double-click the task in the Asset Browser.
- Place the objects. In Spawns, choose + Add Spawn. Give it a
unique Name (such as
block_left), then select its Prefab (such asblock). Prefab binds to the exact scene entry name, not its filename. Several spawns can use the same prefab. Set Parent and Spawn Transform: a top-level spawn is relative to the task root; a child is relative to its parent spawn, not to an actor inside that prefab. - Set the outcome (optional). Under Termination Criteria, expand
Success or Failure and add criteria to its Criteria list with
+. Choose each criterion's type (
SphericalProximity,RelativeBounds, orAxisAlignment) and name the task objects it compares: a spawn's Name, or<spawn>.<part>for one of its actors or links. Combinator decides whether All or Any of the group's criteria must hold, and Validation Time S how long, in seconds, they must keep holding before the outcome counts. The trash button beside a criterion removes it. - Validate and save. Check the placement in the viewport, then Play or Step to spot interpenetration or parts that fall at startup. While simulating, Task Preview switches to an Initial or Current transform table. Stop, then use Save Task or Save Task As... to write the separate task file. Reopen the loose scene and task together to check the saved references.
If task objects disappear while you edit, read the warning in Task Preview and check the Log Console. Check for an unknown spawnable name, a missing asset, duplicate names, or an invalid or cyclic parent relationship.
Renaming a spawn updates the criteria that refer to it, including references
to its parts. A spawn name cannot contain ., which criteria read as the start
of a part. Criteria are checked when you finish an edit, load the task, or
undo; a problem shows as a warning in Task Preview and in the Log Console.
A group with no criteria leaves that outcome unauthored, which is not the same
as an outcome that never happens.
Studio previews the nominal layout. Pose Randomization Class names a class for your runner to apply at reset; the preview does not sample it. Playing the scene does not evaluate the criteria either: to run a scripted motion against them and get a success or failure verdict, use a bot-scene Asset Tuner with this task. See Bot Tasks for runtime reset, randomization, and termination, and for what each criterion type measures.


Simulating
Press Space, or Play in the viewport transport, to simulate the whole scene:
the base scene, every bot (only the selected bot of each slot), and the loaded
task's objects. Studio loads the scene's controllers but runs no control loop of
its own; to command them, drive the scene from the SuperDex Robotics API, or
script their inputs in a bot-scene Asset Tuner.
Force-drag any body with
the mouse, and press Esc to return everything to where it started. See
Simulating Physics.
Archives
The Scene menu packages and unpacks scenes:
| Item | What it does |
|---|---|
| Create Scene Archive... | Writes a .superdex_scene_archive holding the scene and everything it references, transitively. Save the scene first. Also on a scene's Right-click menu in the Asset Browser. |
| Extract Archive to Loose Files... | For an open archive: extracts it into an empty folder, adds that folder to the workspace, and opens the extracted scene. |
| Export Simulation Prefab | While simulating: exports the scene's current state as a prefab. |
Keep the loose scene and its referenced assets as the source for ongoing
edits. Make an archive when you need to share a self-contained snapshot.
Save on an open archive overwrites that archive, not the original loose
files. A task is not part of the archive; share its .superdex_task separately.
See Also
- SuperDex Scenes: the scene format, loading scenes from code, and packaging.
- Bot Editor: authoring the bots a scene places.
- Prefab Editor: authoring base scenes and spawnable prefabs.