Hi there,
I tried to get Yaw and Pich using a call to viewer.mouseEventToCoords(e), as a result I got numbers array that doesn't seem to be right
As I read other comments/issues I understand I need to get the Developer version,
How do I get Developer version ?
i use mouseEventToCoords,it work for me
i found another config —— hotSpotDebug
When true, the mouse pointer’s pitch and yaw are logged to the console when the mouse button is clicked.
maybe it useful to you
The function should return an array. Here's an example:
var viewer = pannellum.viewer(...);
viewer.on('mousedown', function(event) {
// coords[0] is pitch, coords[1] is yaw
var coords = viewer.mouseEventToCoords(event);
// Do something with the coordinates here...
});
There is no "developer version."