-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add KHR_interactivity #824
Open
hybridherbst
wants to merge
74
commits into
dev
Choose a base branch
from
extensions/KHR_interactivity
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
956b1b1
to
3859ab2
Compare
20b69b7
to
e8a5ada
Compare
…isualScripting related scripts
…porter with exporter.GetAnimationId
…splay the export support in the graph editor
…ral is connected as an input in the parent graph
… wrong return type
… validation checks)
…rt of a unity is already be set)
…input for Switch node
…rong results in resolving type detection
…tivity spec version)
faebdc6
to
75512f6
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for
KHR_interactivity
,KHR_node_hoverability
andKHR_node_selectability
as per the specification from Mar 10 2025. The bulk of the implementation work has been done by @pfcDorn and me.Usage
These extensions are not ratified by Khronos yet, so their implementation details might still change substantially. The KHR_interactivity plugin is disabled by default; to enable it follow these steps:
com.unity.visualscripting
UnityGLTFSettings
Interactive scenes can be exported from Visual Scripting script machines. Once the plugin is enabled, script graphs will display hints per node on whether that node can be exported or not. All major visual scripting features should be supported (variables, custom events, subgraphs). If you run into unsupported nodes that you feel should be supported, please open an issue.
Testing
An assortment of ~30 sample files exported with this extension via UnityGLTF can be found here: https://drive.google.com/drive/folders/159YUuZ_DH7_zYBJDU2jh4zcWlxGJX_sg
These files can currently be loaded in
Commit History
For this PR, changes have been moved over from a separate repository. The original history can be seen at https://github.com/needle-tools/UnityGLTF-Interactivity.