Gameobject following the hand of skeleton

Hi, I have added a new prefab with the cube and I am trying to move the cube according to the Right-Hand movement of the native avatar from the example script but the object is not visible in the scene after running.
Here is the follow c# I have used to follow right-hand vector3.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class followRightHand : MonoBehaviour
{
Vector3 PlayerPos;
public Rigidbody rb;
// Start is called before the first frame update
void Start()
{
rb = GetComponent();
rb.isKinematic = true;
}

// Update is called once per frame
void FixedUpdate()
{

    PlayerPos = NativeAvatar.Righthand;
    //  PlayerPos = NativeAvatar.f;
    // Debug.Log(PlayerPos);
    rb.MovePosition(PlayerPos);
    //  rb.transform.position = PlayerPos;
    Debug.Log(rb.transform.position);

}

}

I am getting right-hand vector3 info from
Righthand = skeleton.GetJoint(nuitrack.JointType.RightHand).ToVector3();

Most likely the problem is connected to Unity. You get the coordinates from Nuitrack correctly. It seems that the cube just flies out of the camera’s field of view.

ever get this working?

Hi lebo47!

Check out the tutorial: Creating your First Unity Project using the Nuitrack SDK

Please let me know if you have any other questions.