LightingFollow

Summary

Adjusts the primary light (the light that is usually positioned at the center of your scene) to follow a specified distance from the asset.

This is quite useful if the majority of your assets move - by attaching the light to a mobile asset, you ensure that the areas of interest are well lit.

Parameters

Offset

Type: Vector3 Default: 0,0,0

The offset from the asset. Note that the light is very bright, so we suggest placing it a reasonable distance from the asset.

Range

Type: Float Default: None

Overrides the normal maximum distance that the light covers. This distance is normally 2x the size of the environment.

Colour

Type: Colour Default: 1,1,1,1

Alters the colour of the lighting.

Examples

<lightingfollow offset="100,100,0"/>
The main scene light now follows this asset at a fixed distance.