Skip to content

Commit

Permalink
updates link to GetTrackingData in FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
momo-the-monster authored Oct 23, 2024
1 parent e0c13f0 commit 23b01d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/Docusaurus/docs/Frequently-Asked-Questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can use prefabs with Udon and U#, but changes to serialized fields on those
### Can I access the player camera?
No, you can not access the player's camera. You can, however, get the head position and rotation.

See [VRCPlayerApi.GetTrackingData](https://github.com/Merlin-san/UdonSharp/wiki/vrchat-api#vrchatplayerapi)
See [VRCPlayerApi.GetTrackingData](https://creators.vrchat.com/worlds/udon/players/player-positions/#gettrackingdata)

`Vector3 headPos = localPlayer.GetTrackingData(TrackingDataType.Head).position;`

Expand Down

0 comments on commit 23b01d2

Please # to comment.