This is the main Simulator aspect to Synthesis. We take the robots and fields that have been exported using our exporter, and simulate them with realtime physics within Unity.
You can either follow the setup or run the init scripts at the root of the repository:
- For Windows:
$ init.bat - For Linux/Macos:
$ ./init.sh
- Unity 2021.3.9f1
- .NET
- I suggest .NET 6, though many compile .NET Standard Libs
- Protobuf Compiler v3.19.4
- Navigate to the API README and follow the build instructions.
- Run the
post_buildscript to copy the built binaries into engine.- For Windows:
$ post_build.bat - For Linux/Macos:
$ ./post_build.sh
- For Windows:
- Navigate to EngineDeps and follow the README to install the dependencies.
- Open the engine directory with Unity.
- It will likely ask whether or not you wish to enter into safe mode. Just click ignore.
- Navigate inside Unity to the
Assets/Scenesdirectory. - Double-click
MainSceneto open the main scene inside of Unity. - Either click the play button above to play within the Unity Editor or locate the build menu under
File -> Build Settings...