Hi,
Is it possible to make a spotlight follow a moving unit?
I tried to use TerrainLightSource with soldier, but light spot is not moving, it only appears on unit spawn.
Is there any workarouds in yaml to make it possible?
Moving light glow around unit
Re: Moving light glow around unit
Found in code: TerrainLightSource, supports only: INotifyAddedToWorld, INotifyRemovedFromWorld.
Need to add interface INotifyCenterPositionChanged with cell update.
Tomorrow I`ll think about it.
Need to add interface INotifyCenterPositionChanged with cell update.
Tomorrow I`ll think about it.