Simulate a Cube#

Author a cube and simulate it falling onto a ground plane.

Metadata#

  • Stable ID: falling_cube.simulate_cube.

  • Example type: Sequence step.

  • Entry point: main.py.

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

  • Languages: Python.

  • APIs: isaacsim.foundation.objects, isaacsim.foundation.prims, isaacsim.physics.manager, isaacsim.physics_engines.ovphysx.

  • Topics: physics, USD.

  • Required distributions: isaacsim_foundation, isaacsim_physics, isaacsim_physics_engines.

  • Series: Falling Cube (Sequence).

  • Level: beginner.

  • Series position: 2.

  • Required system capabilities: python.

Run the example#

Linux:

source/examples/example.sh run falling_cube.simulate_cube

Windows (PowerShell):

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

See Build and run examples for setup and runner options.

About this example#

main.py creates cube geometry with Foundation Objects, applies collision and rigid-body behavior through Foundation Prims, then simulates the falling cube with OvPhysX.

More in this sequence#

Previous: Author a Cube. Next: Visualize the Simulation.