Giter VIP home page Giter VIP logo

playspacetracking's Introduction

PlayspaceTracking

Provides extended tracking data inferred from VRChat's existing tracking data and Unity's built-in VR handling.

Features

Provides 4 transforms that can be parented to or read from.

PlayspaceRoot

The root of the player's playspace accounting for position, rotation, and scale.

HeadRoot

The root position of the player's head accounting for positon, rotation, and scale.

PlayerRoot

The root of the player accounting for position, rotation, and scale.

CameraRoot

Depending on if the player is in VR or not, will either be the playspace root, or the head root.

Setup

  1. Install the latest VRCSDK and UdonSharp packages
  2. Install the latest release
  3. Drag the PlayspaceTracker prefab into your scene
  4. Parent things to the objects under PlayspaceTracker/Roots/

Warnings

  • Scale cannot be inferred when the player is in Desktop. Do not use this for things that need desktop to be scaled properly. The scale of all transforms in desktop will always be 1.

  • Do not use this prefab in maps that are more than a few hundred meters off of origin on Y at any point in the map. This prefab is highly sensitive to numeric precision degradation.

  • Use at your own risk, VRC may make some subtle change to the player controller or player tracking that breaks this.

playspacetracking's People

Contributors

merlinvr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.