webvr-replayer icon indicating copy to clipboard operation
webvr-replayer copied to clipboard

updateMatrixWorld required?

Open jaukia opened this issue 8 years ago • 1 comments

Hi, thanks for the great plugin!

I had to add "camera.updateMatrixWorld( true );" after "camera.matrix.fromArray" in the play-function to make head moving work. Not sure if that is due to my setup or something with the replayer.

What I'm then seeing is that the head moves fine. Not sure if controllers are positioned correctly relative to the head though.

Also, didn't realise at first that you have to have window.controls and window.camera defined (i think) to have the replayer work. Documenting that might be useful, installation instructions might be handy as well.

jaukia avatar Oct 12 '16 12:10 jaukia

Also, didn't realise at first that you have to have window.controls and window.camera defined (i think) to have the replayer work.

Yeah, this extension is currently pretty hacky. Eventually it'll polyfill the WebVR directly.

mrdoob avatar Oct 12 '16 22:10 mrdoob