The scientific foundation for constructing virtual environments (VE) that support the development of earthmoving and mining machinery with autonomous capabilities is summarized. It is explained how the physics simulation engine AGX Dynamics support this. Finally, a methodology for computational design exploration of an autonomous load-haul-dump machine in a physics-based VE is described.