Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Arfoundation ARhumanbodymanager

Discussion in 'AR' started by Ras-, Apr 30, 2021.

  1. Ras-

    Ras-

    Joined:
    Apr 12, 2021
    Posts:
    2
    Hi,

    I'm new to unity and I have been playing around with a project that invovles the ARhumanbody manager and the ScreenSpaceJointVisualizer.cs. I have looked around in the scripts to find if I can determine which body parts to track (without success). Does anyone know where I can edit which body parts to track, for instance only the top body or the buttom body? Here is an image of how far my app is working now.

     
  2. Ras-

    Ras-

    Joined:
    Apr 12, 2021
    Posts:
    2
    btw its in this piece of code in the the screenspacejointvisualizer.cs.
    using (joints)
    {
    s_JointSet.Clear();
    for (int i = joints.Length - 1; i >= 0; --i)
    {
    if (joints.parentIndex != -1){
    UpdateRenderer(joints, i);
    Console.WriteLine(joints.parentIndex);
    }
     
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,787
    A note from the team: The body tracking locations are defined by the platform implementation and cannot be altered through an API.