Use the Space Mouse Axes and Buttons
While the most common use for the Space Mouse device is to control a camera in a 3D environment, the DA Assets plugin gives you access to all six axes and 2 buttons on the device to use however you wish. For example, you could use a rotation on the device to change the time of day, colour of a light, or filter your data by time etc.
To do this, start by finding the DA_SpaceMouse
Blueprint in the Device Communication folder in DA Assets and dragging it into your level. The videos below will give you an example.
Use the Space Mouse Axes to Rotate an Object
The following video demonstrates how to use the rotations of the Space Mouse to rotate a cube in your level. Once you've added DA_SpaceMouse
into your level, simply create a reference to it in your Level Blueprint and search for the Rotate Channels variable to access the live axis values.
Use the Space Mouse Buttons
The Space Mouse has two buttons, one of the left and another on the right. Each press and release can trigger something to happen in your Unreal Engine project. The video below builds on the previous example and shows how to use these buttons to make the cube disappear and re-appear. This is done through a binding process.