Computer
graphics and interaction DH2323
Project
Specification:
Alternative input
modalities for interaction in Unity
Evert Lagerberg
Background:
Unity is a
powerful open source game engine, which comes with many helpful features for
creating interaction. For example, to simulate that the player is controlling a
character in a first person perspective, we can just drop a camera object into
our Unity scene. This gives us the functionality to move the placement of the
camera around in the scene with the arrow buttons of the keyboard, and rotate
the camera around the Y and X axis’s
with the mouse. But what if we wanted to design how the physical user interacts
with the game world. What if we wanted to use other physical sensors or other
input modalities to interact with the game world?
Ardouino is a
open-source platform which consists of a circuit board with a programmable
microprocessors and various sockets for input and output. The inputs can be used
to connect sensors to the arduino and the output to connect actuators. Through
the Arduino IDE we can program the microprocessor to tell it how to react on
sensor input. Arduino allows us to quickly build prototypes for interactive
electronic objects.
Problem
Investigate how
the Arduino platform can be connected Unity to send input data from the sensors
connected to the Arduino. Evaluate the usability(accuracy, satisfaction,
stability) of a hardware prototype input system based on a Arduino-to-Unity-connection.
Project plan:
- Acquire the necessary hardware components
- Solder and connect cables to set up hardware prototype
- Investigate how to have the Arduino IDE send input data to Unity, then implement.
- Investigate how to connect input data to controls in unity. Then implement.
- Investigate how to control objects, cameras in a Unity scene.
Evaluation:
The project will
focus on creating a proof of concept prototype of a hardware input system to
control objects and camera in Unity. The evaluation of this system will
primarily be a technical documentation of how well the connection from Arduino
to Unity works. If the prototype works well enough I can do user tests with 1-2
user and interview them about usability.
Limits:
I will start
with trying to implement the control of the camera in unity with a thumb stick
connected to the arduino (Like an analog stick of a modern game console). The
thumb stick can be moved in Y and X axis so this input can be used the camera
in for directions. If I have time I will implement a second thumb stick to
control rotation of the camera around the Y and
X axises. If I have more time I would like to add other sensors and use
them as controls, for example a pressure sensor to act as a button.
Documentation:
I will keep a
diary of the progress of the project on my blog: http://evertlagerberg.blogspot.se/
Inga kommentarer:
Skicka en kommentar