Capítulo 555 de 859

Chapter 555: Gyroscope

Core Idea

A special type of 3D object 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.

Code Examples

import { Gyroscope } from 'three/addons/misc/Gyroscope.js';
  • What it demonstrates: Typical usage of Gyroscope.

Reference Tables

Constructor

Signature
new Gyroscope()

Key Takeaways

  1. Gyroscope extends: EventDispatcher → Object3D

Connects To