Package for supporting the Interactivity extension for GLTFs. Built on top of UnityGLTF.
Focused on playing back interactive GLTFs at runtime. Future work may include runtime authoring/export to allow for editors to be made.
Warning
This project has been converted into a package and is in the process of being merged into UnityGLTF. All further development will take place in the UnityGLTF repo, this repo is now a read-only snapshot from before then.
Currently this project supports all the interactivity nodes from the KHR_interactivity spec along with extensions KHR_node_hoverability and KHR_node_selectability.
Support for all GLTF Core Pointers, Interactivity Pointers, and most extension pointers for materials have been added.
All unit tests in this engine are portable to other implementations. By running this project's tests from the Unity test runner you can generate json files that represent each test. These tests can be consumed by any engine by running them and listening for Completed and Failed events. If a Completed event occurs with no Failed events you may assume the test has passed and your implementation is correct.
To test out an interactive GLB in this repo, place it in the StreamingAssets folder and change the Model Name you would like to load in the Test GameObject.