Expose non-idle-animated head GetTrackingData (i.e. desktop user cursor point)
RavenWorks
I wanted a way to get a ray that corresponds to a desktop user's reticle; I was told that this exists, and it's
player.GetTrackingData(VRCPlayerApi.TrackingDataType.Head)
. This indeed works perfectly, for the local user
; but if a different
user calls that on you, they get a ray that wiggles around as your avatar's idle animation plays.I'm essentially trying to make a laser pointer type thing, where a user can point precisely at something to indicate it to another user; when I used GetTrackingData on everyone in the room, the beam updated very smoothly and promptly, but was consistently several inches off (and wiggling) for everyone else compared to on each user's own machine; I'm now instead syncing the local GetTrackingData values as udon variables, but it's much slower and choppier/lerpier, as well as just being wasteful (surely the non-animated version is already being sent, as the basis for what the animated version runs on top of...)
Log In