Added Gyroscope object.
It's Object3D subclass that takes a position from the scene graph hierarchy but uses its local rotation as world rotation. It works like real-world gyroscope - you can move it around using hierarchy while its orientation stays fixed with respect to the world.
Showing
src/extras/core/Gyroscope.js
0 → 100644
想要评论请 注册 或 登录