Example 7 Gyroscope Camera
Last updated
Last updated
Example 7 has been provided to show the use of the Gyroscope controlling the Camera. In this example we have used an Adventure Camera, but you can also use the First Person Camera by changing the Camera Motor and the Gyro Actions.
Remember to add the Static Touchstick to the Preferences Panel for this Example.
The Actions for this example are straight forward, add the Static Touch stick and then the Gyro Camera.
We have also added a 10 second wait, disabled the Gyro Camera, another 10 second wait, and re-Enabled it to show how these Actions are configured. You need to drag in the Action List from the Hierarchy for Enable/Disable to work.
The Disable Gyro Camera may be needed when you display a UI Canvas.