Tutorials

Gyroscope

​​

Gyroscope


The gyroscope is a technology that detects the rotation of a mobile device. Its primary function is to trigger corresponding events when the device rotates to a specific angle. These trigger events include switching animations, displaying, text-to-speech, or facing. The trigger angle range can be set from 0° to 359° to meet different application scenarios. By rotating the mobile device through different viewpoints, it feels like being in the first-person perspective of a game character, making the virtual experience more immersive.



1. In the scene objects on the left, click the currently established scene.
 



2. Click "替代文字" → "Behav" → "Gyroscope".

 



3. Click "+to bring up the gyroscope settings window.
 



4. Click "Behav" to choose from four functions: "Animation Switch, Display, Text To Speech, Facing" The example below uses "Display" Select the object in the scene.
 


 

5. Set the trigger angle (0°–359°).