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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

how to identify character in unity for vrchat?

Discussion in 'Scripting' started by Heten123, Feb 19, 2020.

  1. Heten123

    Heten123

    Joined:
    Feb 17, 2020
    Posts:
    3
    Hello guys, im new to unity and i was curious on how to identify a player if the player is going to be from vrchat? I want to make a ai follow script but im not sure on how to make the ai detect the player from vrchat. Any help would be awesome, thank you.
     
  2. unit_dev123

    unit_dev123

    Joined:
    Feb 10, 2020
    Posts:
    989
  3. Heten123

    Heten123

    Joined:
    Feb 17, 2020
    Posts:
    3
    Thanks for the reply. I already have the sdk set up. Ive tested my world and made sure it all worked. My problem is im not sure how to tell the ai to find the vrchats player character. Does the vrc have a way to determine the vrchat player character? And if it does what would be the component for it? Or trigger. See in unreal they have line trace so when a player character enters the line trace then the the script would run
     
  4. unit_dev123

    unit_dev123

    Joined:
    Feb 10, 2020
    Posts:
    989
    oh i not sure i just making suggestion sorry
     
  5. Heten123

    Heten123

    Joined:
    Feb 17, 2020
    Posts:
    3
    Thank you, dont be sorry im totally open for any help and suggestions i can get. If you know any documents about it or anything im always open to learn. Thanks for the help again