Create Your First Project
Start adding your projects to your portfolio. Click on "Manage Projects" to get started
OSC Transform Sync
Project Type
Unity Asset/System
Date
April 2023
Link
TBD
This system bridges a single object's position and rotation in the Unity editor with a matching object within VRChat. Because this system works with the avatar SDK, it is usable on any set or environment.
A custom Unity component reads the transform of the synced object and serializes the position and rotation into 24-bit representations of floating point position and 16-bit representations of floating point rotation data. It then pipes this data over OSC to any compatible listeners. Once this data is received by the avatar ether locally or by a remote client, the system utilizes a telescopic grid system in-game to actualize the 24+16bit transform into world-space.
Alternatively if many objects need to be synced at once, the array sync component multiplexes the sync behavior across multiple items by moving synced the transform like a cursor, and pulling the ith synced object to the cursor before repeating the process.
This system shows promise for hardening filming systems against network-based issues. It also could potentially be used for motion capture playback. It is still under active development as it is part of a larger world pickup system that would allow a VR user to manipulate a transform using touch controls.

