The game control page allows control of Unity and Unreal external applications that are integrated with the Igloo Toolkit (for Unity and Unreal) from a remote device.
Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Click or tap the “Control game engines” button to begin controlling Unity/Unrealexternal applications.
You can control orientation, movement, and game controller button presses in a number of ways which are outlined below.
...
If you’re using a mouse and keyboard, your mouse will be locked to the Control Panel window, and all further mouse movement and keyboard interactions will be forwarded to Unity/Unreal. Press [Escape]
to unlock your mouse and stop controlling the ICE cursor.
Mouse movement will adjust your rotation within the Unity/Unreal scene. Left clicking will send an A button press.
Keystrokes will send movement messages or button presses. See below for a keymap of these controls.
...
Keyboard controls
Keyboard/mouse inputUnity/Unreal result | Result |
---|---|
W | Move forwards |
A | Move left |
S | Move backwards |
D | Move right |
Z | A button |
X | B button |
C | X button |
V | Y button |
Mouse movement | Change camera orientation |
Left click | A button |
...
The Igloo Controller Service also needs to be installed and running on the media server.
Unity/Unreal apps External applications that you want to control need to either be using the Igloo Toolkit (for Unity/Unreal), or accept the OSC messages outlined below.
...
OSC output
Messages to the Igloo Controller Service are sent on port 10000
. Messages to external applications are sent on ports 9007
and 9008
.
Movement → Igloo Controller Service
...
Results in software Xbox controller moving its left thumbstick
Orientation →
...
External application
/ximu/euler [y] 0 [x]
x and y are components of a rotation Euler describing the user’s current world-space rotation.
This is initialised at (0, 0, 0)
when the user presses the “Start controlling game engines” button, and reset whenever they stop casting.
Changes to the rotation are tracked by the page and the resulting world-space rotation is provided. This means that the game engine’s camera will jump back to a (0, 0, 0)
rotation between control sessions.
The Igloo Toolkits for Unity /and Unreal plugins handle accept this OSC by default.
Buttons → Igloo Controller Service
...