Language:
Page Info
Engine Version:

Actor Mobility

Choose your OS:

TransformMobility.png

The Mobility setting controls whether an Actor will be allowed to move or change in some way during gameplay. This primarily applies to Static Mesh Actors and Light Actors.

When available, the Mobility property has 3 states:

Mobility State

Description

Static

Static is reserved for Actors that are not intended to move or update in any way during gameplay.

  • Static Mesh Actors with a Mobility of Static will have their shadows contribute to pre-calculated light maps (Lightmass baked lighting). This makes them ideal for structural or decorative meshes that never need to relocate during gameplay. Note, however, that their Materials can still be animated.

  • Light Actors with a Mobility of Static will contribute to pre-calculated light maps (Lightmass baked lighting). They will still illuminate dynamic objects due to the Indirect Lighting Cache . This is the ideal lighting path for mobile workflows, since it is essentially free in terms of gameplay performance.

Stationary

Stationary is used for Light Actors that do not move, but may update in some way during gameplay, such as being switched on/off, having their color change, etc. Lights set up in this way still contribute to the Lightmass pre-calculated light map, but can also cast dynamic shadows for moving objects. However, care must be used not to have too many affecting a given Actor. See the Stationary Lights documentation for more details. Static Mesh Actors cannot have a Mobility of Stationary.

Movable

Movable should be used only when an Actor needs to move during gameplay.

  • Static Mesh Actors with a Mobility of Movable will not cast pre-calculated shadows into the light map. They can be lit by Static Light Actors due to the Indirect Lighting Cache . They will cast dynamic shadows if lit by Stationary or Movable lights. This is the typical setting for any non-deforming mesh element that needs to move in a scene, such as a door, a lift, and so on.

  • Light Actors with a Mobility of Movable can only cast dynamic shadows. Because of this, care must be taken when making these lights cast shadows, as their shadowing method is the most performance intensive. It should be noted, however, that non-shadowing Movable lights are very inexpensive to calculate due to Unreal Engine's deferred rendering system.