https://github.com/keijiro/oscjackvs
OSC plugin for Unity Visual Scripting
https://github.com/keijiro/oscjackvs
bolt osc unity unity3d
Last synced: 8 months ago
JSON representation
OSC plugin for Unity Visual Scripting
- Host: GitHub
- URL: https://github.com/keijiro/oscjackvs
- Owner: keijiro
- License: unlicense
- Created: 2020-11-13T12:49:57.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T08:39:42.000Z (about 4 years ago)
- Last Synced: 2025-02-07T20:59:11.842Z (over 1 year ago)
- Topics: bolt, osc, unity, unity3d
- Language: C#
- Homepage:
- Size: 99.6 KB
- Stars: 86
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
OSCJackVS
=========

**OscJackVS** is an extension for visual scripting in [Unity] that adds custom
nodes for handling [OSC (Open Sound Control)] messages.
[OSC (Open Sound Control)]: http://opensoundcontrol.org/
[Unity]: https://unity3d.com/
It uses [OSC Jack] as a backend. If you're interested in using OSC without
visual scripting, please check the [OSC Jack] project.
[OSC Jack]: https://github.com/keijiro/OscJack
System Requirements
-------------------
- Unity 2021.3 or later
OSC Jack requires `System.Net.Sockets` supported on most platforms but a few
network-restrictive platforms like WebGL.
How To Install
--------------
This package is available in the `Keijiro` scoped registry.
- Name: `Keijiro`
- URL: `https://registry.npmjs.com`
- Scope: `jp.keijiro`
Please follow [this gist] to add the registry to your project.
[this gist]: https://gist.github.com/keijiro/f8c7e8ff29bfe63d86b888901b82644c
OSC Connection
--------------

The OSC Jack components require **OSC Connection** files to specify connection
types, host addresses and port numbers. To create a new OSC Connection file,
navigate to Assets > Create > ScriptableObjects > OSC Jack > Connection.
You must specify a target host address to send OSC messages (leave it empty for
receive-only connections).
Custom Nodes
------------
### OSC Input

**OSC Input** receives OSC messages in a flow graph.
There are the following variants for different data types:
- OscBangInput (trigger without data)
- OscIntInput
- OscFloatInput
- OscStringInput
- OscVector2Input
- OscVector3Input
- OscVector4Input
Note that it triggers the event multiple times in a single frame.
### OSC Output

**OSC Output** sends OSC messages from a flow graph.
There are the following variants for different data types:
- OscBangOutput (trigger without data)
- OscIntOutput
- OscFloatOutput
- OscStringOutput
- OscVector2Output
- OscVector3Output
- OscVector4Output