Get Head Transform

How to get Head Transform

public Transform GetHeadTransform()

Return type

Datatype
Description

Transform

Transform of head

This method returns the updated head transform.

using JMRSDK;
using UnityEngine;

public class PositionRotationExample: MonoBehaviour
{
    public void Update()
    {
        //getting the updated head transform by calling GetHeadTransform()
        Transform headTransform = JMRTrackerManager.Instance.GetHeadTransform();
    }
}

Last updated