Skip to content

from2001/VRM_VisualScriptingNodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

VRM Visual Scripting Nodes

Unity Visual Scripting node library for VRM models

Features

  • Load VRM models with URL
  • Get meta information of VRM models
  • VisionOS Support (Shaders will be replace with Unlit untill official shader support. Build with Polyspatial)
vrm_node Screenshot 2024-01-10 at 23 54 40

Install via OpenUPM command-line interface

# Install openupm-cli
npm install -g openupm-cli

# Go to your unity project directory
cd YOUR_UNITY_PROJECT_DIR

# Install package:
openupm add com.from2001.vrm-visualscripting-nodes

How to Use

This Visual Scripting Graph shows how to load VRM with URL and attach animation as well as getting meta information of the VRM model. LoadVRM node only works with Coroutine checked in On Start Event triger node.

Notice: Check "Coroutine" in the "On Start Event" triger node.

Script Graph

Samples

These samples can be imported.

  1. Load vrm
  2. Attach animation
  3. Get meta information

InstallSamples

ToDo

Implement features of VRM-1.0 APIs

  • Load
  • VisionOS Support (Partially supported)
  • Improve Shader replacement for VisionOS Support
  • Expression
  • LookAt
    • Gaze
    • SetYawPitch
  • Set target location

Add some useful features

  • Cache data in local storage

Repositories

Others

Vision OS Support

Materials are replaced with PolySpatialEnvironmentDiffuseShader shader materials on visionOS

Avoid Multiple scripted importers error

If you want to use glTFast Visual Scripting Nodes and VRM Visual Scripting Nodes in a same project, add two Scripting Define Symbols in Project Settings > Player > Other Settings > Script Compilation > Scripting Define Symbols

UNIGLTF_DISABLE_DEFAULT_GLTF_IMPORTER UNIGLTF_DISABLE_DEFAULT_GLB_IMPORTER

About

Unity Visual Scripting node library for VRM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages