Open Construction Simulator (OCS) is a free construction simulator.
It is developed based on the game engine "Unity" and provides a simulation environment for excavation and earth transportation using heavy machinery.
note
The version maintained in this repository is a Demo version.
The Full version is distributed only as a binary due to license restrictions.
In this repository, following packages are utilized. Please check them if you have more interests.
- UnitySensors : Sensor packages available for Unity
- OcsSystem : System management package
- OcsTerrain : Terrain control package
- OcsVehicle : Vehicle control package
First, install UnityHub with following links.
- Windows, Mac : https://unity3d.com/jp/get-unity/download
- Linux : Goto https://unity3d.com/get-unity/download and click "Download Unity Hub" button to get latest
UnityHub.AppImage
.
Then add execution permission forUnityHub.AppImage
by following command.Then, run the UnityHub.AppImage$ sudo chmod +x UnityHub.AppImage
Please certificate the LICENSE for Unity on UnityHub application (you can use them free !)$ ./UnityHub.AppImage
After that, choose and install Unity Editor (version : 2020.3.6f1
) from archive.
https://unity3d.com/get-unity/download/archive
For Windows
You have .exe
file from above link. Just run them.
For Linux
- Right click on
Unity Hub
button on your desired Unity Editor version, and click "Copy Lilnk Location". - Run
UnityHub.AppImage
by setting copied link location as the argument. Here is the example for2020.3.6f1
version.If you need any other version, the procedure is same. After above commands, the UnityHub will start to install desird version's Unity Editor!$ ./UnityHub.AppImage unityhub://2020.3.6f1/338bb68529b2
Finally, please open OpenConstructionSimulator
package from UnityHub. (It takes more than 5 minuites at the first time, in the case)
There are Demo Scene file in Asset/OpenConstructionSim/Scenes/DemoEnv.unity
.
Please open the Scene file you want.