Visualize the Simulation#

Watch the falling-cube simulation in the interactive OVGL debug viewport.

Metadata#

  • Stable ID: falling_cube.visualize_simulation.

  • Example type: Sequence step.

  • Entry point: main.py.

  • Source directory: source/examples/series/falling_cube/visualize_simulation.

  • Languages: Python.

  • APIs: isaacsim.foundation.objects, isaacsim.physics.entities, isaacsim.physics.manager, isaacsim.physics_engines.ovphysx, isaacsim.ovgl_viewport.debug.

  • Topics: physics, rendering, USD, viewport.

  • Required distributions: isaacsim_foundation, isaacsim_physics, isaacsim_physics_engines, isaacsim_ovgl_viewport.

  • Series: Falling Cube (Sequence).

  • Level: beginner.

  • Series position: 3.

  • Required system capabilities: python.

Run the example#

Linux:

source/examples/example.sh run falling_cube.visualize_simulation

Windows (PowerShell):

.\source\examples\example.bat run falling_cube.visualize_simulation

See Build and run examples for setup and runner options.

About this example#

This example publishes a falling cube’s simulated transforms to OVStage and renders them in an interactive viewport. Drag with the left mouse button to look, use WASD and Q/E to move, use the wheel to dolly, press R to reset, and press Escape to quit.

More in this sequence#

Previous: Simulate a Cube.