- Unity 2019.04 LTS
Open the UnityClient project by going to the project directory (by default
%USERPROFILE%\Hadean\Aether Engine Examples\PhysicsDemo\UnityClient) and double-clicking the main scene file, located in
To test the client you need to have the simulation running in the background:
cd PhysicsDemo\Simulationaether run
Once the simulation is running, click the play button in the Unity editor to start the client.
Once connected the following controls are available:
- Left mouse button spawns a cube in random location
- W, A, S and D move the camera
- Mouse rotates the camera
While in the Unity editor, a debug view can be enabled which displays the Aether simulation's cells. To enable the debug gizmos view select the Gizmos view in the menu on the top right of the editor view:
Configuring a Script Editor
The UnityClient projects contains multiple C# script files which are used to render the simulation. The Unity editor doesn't have built-in support for changing these files, but lets you configure an external editor. This guide recommends using Visual Studio Community 2019, as it has full and accurate IntelliSense support once configured.
To set up Visual Studio Community 2019 as the script editor:
Install Visual Studio Community 2019
For details on building and starting OpenGL client, look at our Getting Started section.
Once the client is started, the following controls are available:
- left mouse button clicks will cause additional cubes to be spawned
- mouse movement will rotate the camera position around the origin
- mouse scrolling and the keys W and S will change the distance of the camera from the origin
- the A and D keys will move the camera horizontally
- the SPACE and left Ctrl keys will move the camera vertically
- the Esc and Q keys will exit the client