Search Unity

Passing Headset Transforms into Animator (for an Avatar)

Discussion in 'AR/VR (XR) Discussion' started by cansub, Aug 23, 2017.

  1. cansub

    cansub

    Joined:
    May 30, 2017
    Posts:
    15
    I am attempting to add an avatar to my 3D project (using the ACER WMR (Windows Mixed Reality) Headset). I want to pass the transforms of the headset into the Unity Animator.
    I only need the x and z position transforms as well as the y rotation. They need to be passed into Forward and Turn parameters in the animator which will animate the avatar as I move around the space. Can I get some guidance on how to accomplish this? (or better yet a script?).