Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update Frequently-Asked-Questions.md #166

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Tools/Docusaurus/docs/Frequently-Asked-Questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ 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(TrackingData.Head).position`
`Vector3 headPos = localPlayer.GetTrackingData(TrackingDataType.Head).position;`

### Can I have more than one UdonSharp Udon Behavior on a GameObject?
Yes.
Expand All @@ -35,4 +35,4 @@ If you are learning UdonSharp and not familiar with C# already, you may run acro
- Method overloads
- Properties

The UdonSharp [readme](https://github.com/Merlin-san/UdonSharp/blob/master/README.md#c-features-supported) lists additional specific C# features that do not work.
The [main UdonSharp page](https://udonsharp.docs.vrchat.com/#differences-from-regular-unity-c-to-note) lists additional differences between UdonSharp and C#.
Loading