For instructions of how to install/use the project please see WIKI
Simple Unity project that connects Unity3D and Greta. For more information on Greta, please see the Greta repo
Welcome to the public repository of the GretaUnity project. Greta is a virtual character engine that allows generating socio-emotional behaviors in order to build natural interactional scenario with human users.
This project integrates a Greta agent in a Unity3D environment. It was tested on Unity 2020.3.x
- Install Unity
- Clone the repository to retrieve all files from the Greta Project.
- Install Greta as explained here.
- Run Greta with one of the "GretaUnity" configurations in
greta/bin
. - Open the GretaUnity project in Unity.
- Open the
Camille
Scene in theScenes
folder. - Click run.
For the moment, only two functionalities are available for the GretaUnity project, but many more are to come. GretaUnity communicates with Greta through the Thrift framework, so that if Greta plays any BML, FML or sound, it is reproduced in Unity.
By using the Animation Command Tester script, you can send a relative path to a BML or FML file to Greta, press T
, and your file will automatically be played.
By using the Greta Unity Object Tracker, you can track Unity objects' positions so that they are replicated in Greta, and continuously stare at a given object.