Skip to content

Instantly share code, notes, and snippets.

View vrchat-developer's full-sized avatar

VRChat Developer vrchat-developer

View GitHub Profile
// This code is licensed under MIT license
using UnityEngine;
public class OscEyeTrackingSenderExample : MonoBehaviour
{
public string OscTargetIp = "127.0.0.1";
public int OscTargetPort = 9000;
public Transform EyeRoot;
public Transform EyeTarget;
@vrchat-developer
vrchat-developer / OscTrackerSenderExample.cs
Created November 18, 2022 19:56
Example of sending Virtual Tracker data to VRChat over OSC
// This code is licensed under MIT license
using UnityEngine;
public class OscTrackerSenderExample : MonoBehaviour
{
public float UserHeightInMeters = 1.7f;
public string OscTargetIp = "127.0.0.1";
public int OscTargetPort = 9000;
public Transform HeadReference;