GW2's Mumble Link - missing vector data

#1 - July 15, 2013, 10:40 a.m.
Blizzard Post

I’m working on a project that is making use of the vector information in the Mumble link data to draw overlay information on the player’s screen. However, I’m having a problem resolving some of the vectors. Most notably, the “fCameraFront[]” vector is missing the z-axis information (fCameraFront1 is always 0). It contains the x and y-axis information (for providing a top-down camera facing direction), but not the z-axis.

Could this information be added to the vectors? I’ve been trying to estimate the front vector by tracing the line between fCameraPosition[] and fAvatarPosition[]…but it seems like there is some offset in play, and that traced vector is not accurate.

#2 - July 15, 2013, 11:10 a.m.
Blizzard Post

fCameraFront is derived directly from our camera data. fAvatarFront does force the z axis to be 0, but it normalizes out the z axis into the x and y coordinate. Maybe your structure is wrong?

Note, I didn’t test it to see if the fCameraFront1 is always 0, maybe it is. If so, it might be fixable.

What are you trying to do?

#4 - July 15, 2013, 11:26 a.m.
Blizzard Post

Yeah, that makes sense to me. I’ve filed a bug on it.

#7 - Aug. 6, 2013, 10:20 a.m.
Blizzard Post

This should be fixed in the latest patch.