-
Notifications
You must be signed in to change notification settings - Fork 21
Controlling Objects in Unity with AMQP
This tutorial demonstrates how to use the library to control the Position, Rotation, and Scale of an object in the scene using AMQP messages.
First you will need to install the Unity3D.Amqp asset package into your project. For more instructions on how to get the asset package and import it into a new project please see the Quick Start tutorial.
You will need access to a RabbitMQ server for this tutorial. This tutorial assumes a local install of RabbitMQ server, but you could also use a hosted version such as CloudAMQP (who offer a free tier). If you are going to use a hosted service like CloudAMQP then please refer to the README as it explains some of the differences in port configuration and SSL usage that will differ from this tutorial.
Once you have imported the package into your project, locate the example scene ObjectControlDemo:
Before you can use the AMQP library you will need to ensure at least one connection has been written to your project.
From Unity's file menu, select: AMQP → Configuration
This tutorial will assume you have the default install of RabbitMQ server installed on your localhost with the default guest/guest admin user installed.