UE5 - Notes

Settings

Configuration files

The UE5 docs on configuration files
A tips & tricks video of setting up configuration files

  • Invert Middle Mouse Pan
    To pan the viewport I like to invert the middle mouse pan.
    • You can do this on a per project basis using the ui:
      • Edit > Editor Preferences > Level Editor > Viewports > Invert Middle Mouse Pan : On
        Note this will only be set for the project
    • To invert the middle mouse pan on all new projects
      • Open the config directory of the engine version you want to edit
        • The path is something like C:\Program Files\Epic Games\UE_5.0\Engine\Config
        • Open the file BaseEditorPerProjectUserSettings.ini
        • Find the setting bInvertMiddleMousePan and set it to true:
          bInvertMiddleMousePan=True
        • Save the file

Viewport

  • Get mouse control when game plays : Shift F1

Camera

  • Toggle exact camera view
    • Ctrl + Shift + C
  • Perspective view:
    • Alt + G
    • Ctrl + MMB -> south east / west
    • Ctrl + MMB click -> menu
  • Front view
    • Alt + H
    • Ctrl + MMB -> east
  • Back view
    • Alt + Shift + H
    • Ctrl + MMB -> west
  • Top view
    • Alt + J
    • Ctrl + MMB -> north
  • Bottom view
    • Alt + Shift + J
    • Ctrl + MMB -> south
  • Left view
    • Alt + K
    • Ctrl + MMB -> north east
  • Right view
    • Alt + Shift + K
    • Ctrl + MMB -> north west

Manipulation

  • Toggle the manipulator
    • Space bar

Pivot

  • Set pivot of selected
    • With the object selected hold Alt + MMB click on an surface to where you want to set your pivot
    • LMB click on the object to reset

Node Graph

  • Disconnect pin
    • hold alt and LMB click the pin
  • Move connection
    • Hold Ctrl LMB click and drag to reconnect elsewhere

Content Browser

  • Toggle content browser : Ctrl Space
  • Show Content browser folder in Explorer : RMB click > Show in Explorer
  • Seems like the DDC has moved to inside the project structure?

Filters

  • Enable All : Ctrl LMB click (the filter buttons)
  • Disable All : Alt LMB click (the filter buttons)

Textures

Tips

  • Substance Painter
    • Normal Map Format : DirectX
    • Compute Tangent Space Per Fragment : On
  • UDIM ( Docs 4.26)
    • Project Settings
      • Engine > Rendering > Virtual Textures > Enable Virtual Texture Support : On
        Note that this require a restart of the editor and that the shaders need to nbe recompiled which can take some time.

Lighting

Exposure

  • Auto-exposure
    • In editor (only)
      • In the (3D) view mode menu, top left (3:rd from left)
        • Disable Game Settings
        • Use the EV100 slider to set the exposure. Note that this is only affecting the editor.
    • Project Settings
      • Engine > Rendering > Default Settings > Auto Exposure
        • Keep the auto exposure enabled
        • Switch the auto exposure type to manual
        • Set the auto exposure bias
    • Post Process Volume
      • Lens > Exposure
        • Set the metering mode to manual
        • Set the exposure compensation

HDRI Backdrop

Sound

  • Import sound file
  • Drag and drop in the editor
  • Mute
    • In editor
      • By default the sound is muted when we use the editor (which makes sense since we probably dont want to hear this all the time). But if we want to change this we open the settings menu (top right corner of editor) and enable real time audio.
    • Play mode
      • To control if we want to play sounds when we play the level, we open up the play settings menu. (The three dots at the right of the play button)
      • Play Settings > Advanced Settings > Play in Editor > Enable Gamne Sounds : on/off
        Note that you also can reach this menu through: Edit > Preferences > Level Editor > Play > Play in Editor
  • Looping
    • To make a sound loop, double click the sound in the content Browser and in the details panelös that pops up enable the looping checkbox (under the sound section)
  • Attenuation
    • To control how the sound is attenuated
      • Select the sound in the world outliner
      • Find the Attenuation section in the details panel
      • Enable Override Attenuation
      • Then we find an attenuation shape that we like and adjust the extents and fallof distance.

Gotcha

  • Sine & Cosine
    • The Sine & cosine expression outputs the value of a Sine wave over the input range of [0, 1] and the output range of [-1, 1]
    • You might expect the input range to be 0 -2 π