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
The GLTF KHR_interactivity spec is not finalized and is subject to change. This project is up to date with this version of the spec.
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.