IN THIS ARTICLE
Fly Camera Input Component
Use the Fly Camera Input component to quickly add a controllable camera to your level. The Fly Camera Input component receives inputs from a mouse and keyboard, gamepad, or touch device. You can control the forward, backward, and lateral movement as well as the look direction of a camera component that is attached to the same entity as the Fly Camera Input component. Mouse X and Y-axis movements control look direction. The keyboard keys
D control forward, left, backward, and right motion respectively.
|Move Speed||Sets the movement speed of the camera.||1.0 - 100.0|
|Rotation Speed||Sets the rotational speed of the camera.||1.0 - 100.0|
|Mouse Sensitivity||Sets the input sensitivity of the mouse.||0.0 - 1.0|
|Invert Rotation Input X||Inverts the value of X-axis rotation inputs (yaw, left-right look direction).||Boolean|
|Invert Rotation Input Y||Inverts the value of Y-axis rotation inputs (pitch, up-down look direction).||Boolean|
|Is Initially Enabled||If set to enabled, the fly camera will be active and controllable when the parent entity is activated.||Boolean|
For more information, see Working with the Event Bus (EBus) system .
Copyright © 2022 Open 3D Engine Contributors
Documentation Distributed under CC BY 4.0.
The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.