Get Head Position
How to get Head Position
public Vector3 GetHeadPosition()
Return type
Datatype
Description
Vector3
Position of head in world coordinate
This method returns the updated head position in world coordinate.
using JMRSDK;
using UnityEngine;
public class PositionRotationExample: MonoBehaviour
{
public void Update()
{
//Getting the updated Head position by calling the GetHeadPosition()
Vector3 position = JMRTrackerManager.Instance.GetHeadPosition();
}
}