01 · Isaac Sim basics & Hello World¶
Goal. Find your way around the Isaac Sim window, and write your first standalone Python script: a falling cube next to the TurtleBot3 Lime.
The window¶

| Area | What it is for |
|---|---|
| Viewport (centre) | The 3D view. Right mouse button + WASD to fly, F to frame the selection, scroll to zoom. The toolbar above it chooses the renderer and the camera. |
| Stage (top right) | The scene as a tree of prims (USD objects): /World/GroundPlane, /World/turtlebot3_lime, … |
| Property (bottom right) | Everything about the selected prim: transform, physics, materials, variants. |
| Content / Console (bottom) | NVIDIA's asset library and your files, and the log. |
| Play ▶ / Stop ■ (left toolbar) | Start and stop the simulation. Physics, sensors and ROS 2 only run while playing. |
USD in one paragraph
Isaac Sim scenes are USD stages: a tree of prims with attributes. A prim gets behaviour by applying
schemas. UsdPhysics.RigidBodyAPI makes it move with gravity, CollisionAPI makes it touch other objects,
ArticulationRootAPI turns a tree of links and joints into a robot. A stage can reference other USD files.
The Lime is one file (assets/usd/turtlebot3_lime_tuned.usda) referenced into each scene.
Try it in the GUI¶
source scripts/isaac_env.sh && isaacsim- Create ▸ Physics ▸ Ground Plane.
- Create ▸ Shape ▸ Cube. In Property ▸ Transform set Translate z = 1.
- With the cube selected: Add ▸ Physics ▸ Rigid Body with Colliders Preset.
- Drag
assets/usd/turtlebot3_lime_tuned.usdafrom the Content browser into the viewport. This adds the robot as a reference. The Content browser starts inomniverse://, with NVIDIA's asset library. To find your own files, scroll down its list on the left to My Computer, then open the folder where you cloned the repository. - Press Play ▶. The cube falls and the robot stands on its wheels.
- Press Stop ■, then save your stage: File ▸ Save As
my_stages/01_hello_world.usd. Themy_stages/folder in the repository is for your own stages, and git ignores it. Later GUI tabs continue from stages you saved there.
The same in Python¶
A standalone script starts Isaac Sim itself, so it can run without a window, for example on a server or in tests:
source scripts/isaac_env.sh
python isaac/01_hello_world.py
python isaac/01_hello_world.py --headless --test
Every script in this project has the same four steps:
from isaacsim import SimulationApp
simulation_app = SimulationApp({"headless": False}) # 1. start Isaac Sim - always first!
import isaacsim.core.experimental.utils.stage as stage_utils # (imports only after SimulationApp)
stage = stage_utils.create_new_stage(template="sunlight") # 2. build a scene
GroundPlane("/World/GroundPlane")
cube = Cube("/World/LimeCube", sizes=0.2, positions=[0.6, 0.0, 1.0], colors=["limegreen"])
UsdPhysics.RigidBodyAPI.Apply(stage.GetPrimAtPath("/World/LimeCube"))
UsdPhysics.CollisionAPI.Apply(stage.GetPrimAtPath("/World/LimeCube"))
SimulationManager.setup_simulation(dt=1.0 / 60.0) # 3. physics settings, then Play
app_utils.play()
while simulation_app.is_running(): # 4. step: render + physics
simulation_app.update()
[01] t = 0.5 s cube height = 0.791 m
[01] t = 1.0 s cube height = 0.100 m
[01][check] ok cube landed on the floor (centre at 0.100 m = half its size)
[01][check] ok robot stands on its wheels (base_link at 0.060 m = wheel radius)
[01][check] ok robot has 10 joints that can move
[01][test] PASS
Which Python API?
Isaac Sim 6.x recommends the isaacsim.core.experimental.* modules (prims, objects, utils) together with
SimulationManager. Older tutorials on the internet use World from isaacsim.core.api. It still works in 6.2,
but it is deprecated, so these tutorials use the new API.
Full script: isaac/01_hello_world.py
# SPDX-FileCopyrightText: 2026 An (an-robotics)
# SPDX-License-Identifier: Apache-2.0
"""Tutorial 01 - Isaac Sim basics: your first standalone script ("Hello World").
source scripts/isaac_env.sh
python isaac/01_hello_world.py # with a window
python isaac/01_hello_world.py --headless --test
Every standalone script follows the same four steps:
1. start the simulator SimulationApp(...) <- must come first
2. build a scene (a USD stage) ground, light, objects, robot
3. press Play SimulationManager + app_utils.play()
4. step the simulation simulation_app.update() in a loop, read and write the scene
"""
import sys
from common.cli import parse_args
args = parse_args(__doc__.splitlines()[0])
# --- 1. Start Isaac Sim. Import NOTHING from isaacsim / omni / pxr before this line. ------------------------
from isaacsim import SimulationApp
simulation_app = SimulationApp({"headless": args.headless, "width": 1280, "height": 720})
# Now the Isaac Sim / Omniverse / USD modules can be imported.
import isaacsim.core.experimental.utils.app as app_utils
import isaacsim.core.experimental.utils.stage as stage_utils
from common import lime
from isaacsim.core.experimental.objects import Cube, GroundPlane
from isaacsim.core.experimental.prims import Articulation, XformPrim
from isaacsim.core.simulation_manager import SimulationManager
from pxr import UsdLux, UsdPhysics
# --- 2. Build a scene ----------------------------------------------------------------------------------------
stage = stage_utils.create_new_stage(template="sunlight") # a new, empty USD stage with a distant light
UsdLux.DomeLight.Define(stage, "/World/DomeLight").GetIntensityAttr().Set(500.0) # soft light from the sky
GroundPlane("/World/GroundPlane") # a floor with a collider
# A 20 cm cube, 1 m above the floor. A plain Cube only has geometry; the two USD *physics schemas* make it fall
# (RigidBodyAPI: it has mass and moves) and collide (CollisionAPI: it touches other colliders).
cube = Cube("/World/LimeCube", sizes=0.2, positions=[0.6, 0.0, 1.0], colors=["limegreen"])
UsdPhysics.RigidBodyAPI.Apply(stage.GetPrimAtPath("/World/LimeCube"))
UsdPhysics.CollisionAPI.Apply(stage.GetPrimAtPath("/World/LimeCube"))
# The robot of these tutorials (made in tutorials 02 + 03). It is a USD *reference* to another file.
articulation_root = lime.add_lime("/World/turtlebot3_lime")
recorder = None
if args.record:
from common.recorder import Recorder
recorder = Recorder(args.record, eye=(1.4, -1.4, 0.9), target=(0.3, 0.0, 0.25))
# --- 3. Press Play ----------------------------------------------------------------------------------------------
SimulationManager.setup_simulation(dt=1.0 / 60.0) # physics at 60 steps per second
app_utils.play()
# --- 4. Step and observe --------------------------------------------------------------------------------------------
robot = Articulation(articulation_root)
steps = 0
while simulation_app.is_running():
simulation_app.update() # renders one frame and advances physics by dt
steps += 1
if recorder:
recorder.capture()
if steps % 30 == 0 and steps <= 120:
z = float(XformPrim("/World/LimeCube").get_world_poses()[0].numpy()[0, 2])
print(f"[01] t = {steps / 60:.1f} s cube height = {z:.3f} m", flush=True)
if (args.test or args.record) and steps >= 150:
break
ok = True
if args.test:
cube_z = float(XformPrim("/World/LimeCube").get_world_poses()[0].numpy()[0, 2])
robot_z = float(robot.get_world_poses()[0].numpy()[0, 2])
checks = {
f"cube landed on the floor (centre at {cube_z:.3f} m = half its size)": abs(cube_z - 0.1) < 0.01,
f"robot stands on its wheels (base_link at {robot_z:.3f} m = wheel radius)": abs(robot_z - 0.06) < 0.01,
f"robot has {robot.num_dofs} joints that can move": robot.num_dofs == 10,
}
for text, passed in checks.items():
print(f"[01][check] {'ok ' if passed else 'FAIL'} {text}")
ok = all(checks.values())
print(f"[01][test] {'PASS' if ok else 'FAIL'}")
if recorder:
recorder.save()
app_utils.stop()
simulation_app.close(exit_code=0 if ok else 1)
sys.exit(0 if ok else 1)
Next: 02 · Import TurtleBot3 Lime, where the robot file comes from.