Skip to content

Orientation quaternion printed in console is different then the GUI one. #24

@Kaju-Bubanja

Description

@Kaju-Bubanja

I'm not sure if this is intended or it went unnoticed, but starting with a fresh reset position the orientation reads [0,0,1,0] in the GUI but [0,0,0,1] in the console using this code
var orientation = frameData.pose.orientation; console.log(orientation);
The WebVR spec says it should be [0,0,0,1] but somehow the GUI gets it wrong. I noticed this problem when wanting to use the individual values in a webgl lookat function trying to read orientation[2] instead of orientation[3] because of the GUI.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions