Home Unreal Engine

Extending Dominant Directional Light

polycounter lvl 5
Offline / Send Message
Nexussfire polycounter lvl 5
So I am working with a version of the UDK that doesn't have this actor class extended to a moveable state.

This is the extension I have

.fctbNone{ color:#000000; } .fctbStyle4Style11{ color:#0000ff; } .fctbStyle3Style10{ color:#87ceeb; } .fctbStyle4{ color:#0000ff; } .fctbStyle1{ color:#4b0082; }
class DominantDirectionalLightMovable extends DominantDirectionalLight native(Light) placeable; defaultproperties { Begin Object Name=DominantDirectionalLightComponent0 WholeSceneDynamicShadowRadius=2000 End Object bMovable=TRUE Physics=PHYS_Interpolating }


Whats happenening when I try to use it in the editor, or right click on any other light, the editor crashes. Is there a way I can get this to work without getting the game/editor crashing?

Replies

  • Vailias
    Options
    Offline / Send Message
    Vailias polycounter lvl 18
    You may not be able to just extend a light that way due to how the lights interact with the engine's actual lighting routines.
    It's entirely possible that dominant directional and moveable are mutually exclusive concepts, at least in the build you're using.
Sign In or Register to comment.