Git Product home page Git Product logo

Comments (2)

dabeschte avatar dabeschte commented on June 5, 2024

yes, this seems very likely. Unfortunately, I don't have a VR headset anymore and don't actively maintain this package anymore. But I would be more than happy to accept your pull request once you get it running.
According to this, the API changed slightly, but should not be too difficult to work out

from vrarmik.

LMBooth avatar LMBooth commented on June 5, 2024

Looking in to this, it seems you can still use UnityEngine.XR.InputTracking.GetLocalPosition(node) and similar deprecated functions with the new version Unity XR and OpenXR plugin (this is in Unity 2020.2.2f1 to allow easy integration in to multiple VR devices). My work around (after following some of the OpenXR setup instructions made by VR with Andrew) was to remove any instances of LocalVrTrackingInput.cs - in the children of PoseManager - and add the new XR script TrackedPoseDriver with eye position and rotation bindings to the hmd object as well as your camera and XRRig, example in the following image:
image

An ActionBasedController script needs to be added to each controller with relevant devicePosition and deviceRotation bindings, see following image for an example (You can add extra actions via this script too. You don't need to add a model or transform to the ActionBasedController script as it will just use whichever hand models you have specified in the avatar arms objects):
image

Hopefully that makes sense for anyone stumbling across the same problem in the future.

from vrarmik.

Related Issues (8)

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.