Welcome to the support page for the Flight Instrument Pack, where you can ask any support questions or feature requests for future updates.
Thank you.
Welcome to the support page for the Flight Instrument Pack, where you can ask any support questions or feature requests for future updates.
Thank you.
Example Project Setup
[HR][/HR]
Project Setup (Engine Version 4.26)
All flight instruments, in the instrument widget blueprint, operate from the class type pawn reference which is set from the “GetOwningPlayerPawn” function. The pawn reference is used to get the pawns velocity, rotation, and location from the “GetVelocity”, “GetActorRotation”, and “GetActorLocation” functions.
https://forums.unrealengine.com/core/image/gif;base64
[HR][/HR]
Pawn Setup (FlyingPawn)
Adding the Demo Cockpit Widget
Floating Pawn Movement Component
This component makes use of the pawn’s “velocity”.
Only the Airspeed Indicators and the Vertical Speed Indicators make use of the “GetVelocity” Function. If these instruments are not required, skip this step.
1. Find the Component panel and click Add Component.
2. Search and add “FloatingPawnMovement” component
3. In the Details panel, find the category “Floating Pawn Movement”.
4. Set the parameters to default.
5. In the Event Graph, find the Event Tick.
6. Delete the “AddActorLocalOffset” function and the function’s Delta Location references.
7. From the “AddActorLocalRotation” function, connect the “AddMovementInput” function. The “World Direction” references the “GetActorForwardVector” function, and set “Scale Value” to 1.0.
8. Compile and save.
[HR][/HR] Drag and Drop Widget Setup
[HR][/HR] Texture Mip Generation Settings
With engine versions 4.20 and later, the engine no longer auto generates mip maps with UI Texture Group settings. Set the “Mip Gen Settings” in the “Level Of Detail” category for your target screen resolution and development platform.
[HR][/HR] Product Tutorials
The Flight Instrument Pack includes (7) Tutorial Blueprint assets in the following locations: