Revealing light (Change texture)

Hey guys!
I’m trying to find out how to make a feature for a game, where when the player shines a light on a object it will show another texture just in the area of object where a light shines(not change the whole texture). Something like a layered material…?
6778-hiddenmessage.png

Thanks for any advice!

I worked out bit of a possible solution, it works fairly well… as long as you’re not at too extreme of an angle.

What it does is Drive a Sphere Mask in the material which can be used as an Alpha for whatever kind of blend you want to use… It uses a graph on the character blueprint, a Material Parameter Collection, and a Material.




Here’s some of the Code, this is the mask graph from the material, you can Copy and paste this into the Material Editor.


Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_49"
   Begin Object Class=EdGraphPin Name="EdGraphPin_41731"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_41730"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_41729"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_41728"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_41727"
   End Object
   Begin Object Class=MaterialExpressionSphereMask Name="MaterialExpressionSphereMask_1"
   End Object
   Begin Object Name="EdGraphPin_41731"
      PinName="Output"
      PinFriendlyName=" "
      Direction=EGPD_Output
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_47.EdGraphPin_41724'
   End Object
   Begin Object Name="EdGraphPin_41730"
      PinName="Hardness"
      PinType=(PinCategory="optional")
   End Object
   Begin Object Name="EdGraphPin_41729"
      PinName="Radius"
      PinType=(PinCategory="optional")
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_55.EdGraphPin_41746'
   End Object
   Begin Object Name="EdGraphPin_41728"
      PinName="B"
      PinType=(PinCategory="required")
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_52.EdGraphPin_41742'
   End Object
   Begin Object Name="EdGraphPin_41727"
      PinName="A"
      PinType=(PinCategory="required")
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_54.EdGraphPin_41745'
   End Object
   Begin Object Name="MaterialExpressionSphereMask_1"
      A=(Expression=MaterialExpressionComponentMask'MaterialGraphNode_54.MaterialExpressionComponentMask_1')
      B=(Expression=MaterialExpressionWorldPosition'MaterialGraphNode_52.MaterialExpressionWorldPosition_1')
      Radius=(Expression=MaterialExpressionCollectionParameter'MaterialGraphNode_55.MaterialExpressionCollectionParameter_4')
      AttenuationRadius=10.000000
      HardnessPercent=80.000000
      MaterialExpressionEditorX=-656
      MaterialExpressionEditorY=256
      MaterialExpressionGuid=7B90C8BE4D46E35178C3DD8066398CE2
      Material=PreviewMaterial'/Engine/Transient.PreviewMaterial_1'
   End Object
   MaterialExpression=MaterialExpressionSphereMask'MaterialExpressionSphereMask_1'
   Pins(0)=EdGraphPin'EdGraphPin_41727'
   Pins(1)=EdGraphPin'EdGraphPin_41728'
   Pins(2)=EdGraphPin'EdGraphPin_41729'
   Pins(3)=EdGraphPin'EdGraphPin_41730'
   Pins(4)=EdGraphPin'EdGraphPin_41731'
   NodePosX=-656
   NodePosY=256
   NodeGuid=6A3A16F7440E2C89D080B3ACCA3015F7
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_52"
   Begin Object Class=EdGraphPin Name="EdGraphPin_41742"
   End Object
   Begin Object Class=MaterialExpressionWorldPosition Name="MaterialExpressionWorldPosition_1"
   End Object
   Begin Object Name="EdGraphPin_41742"
      PinName="Output"
      PinFriendlyName=" "
      Direction=EGPD_Output
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_49.EdGraphPin_41728'
   End Object
   Begin Object Name="MaterialExpressionWorldPosition_1"
      WorldPositionShaderOffset=WPT_ExcludeAllShaderOffsets
      MaterialExpressionEditorX=-1184
      MaterialExpressionEditorY=288
      MaterialExpressionGuid=81CD0FED48537E2525704088DA15C405
      Material=PreviewMaterial'/Engine/Transient.PreviewMaterial_1'
   End Object
   MaterialExpression=MaterialExpressionWorldPosition'MaterialExpressionWorldPosition_1'
   Pins(0)=EdGraphPin'EdGraphPin_41742'
   NodePosX=-1184
   NodePosY=288
   NodeGuid=E5AE4C8445CEF1B39A3E0296B9C9950D
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_53"
   Begin Object Class=EdGraphPin Name="EdGraphPin_41743"
   End Object
   Begin Object Class=MaterialExpressionCollectionParameter Name="MaterialExpressionCollectionParameter_3"
   End Object
   Begin Object Name="EdGraphPin_41743"
      PinName="Output"
      PinFriendlyName=" "
      Direction=EGPD_Output
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_54.EdGraphPin_41744'
   End Object
   Begin Object Name="MaterialExpressionCollectionParameter_3"
      Collection=MaterialParameterCollection'/Game/AudioTutAssets/LocationCollection.LocationCollection'
      ParameterName="HotSpot"
      ParameterId=153A6DD84F9AB5B183EE99B9203AB8F4
      MaterialExpressionEditorX=-1264
      MaterialExpressionEditorY=112
      MaterialExpressionGuid=495F165B450B4322E6E3549EAF49073C
      Material=PreviewMaterial'/Engine/Transient.PreviewMaterial_1'
   End Object
   MaterialExpression=MaterialExpressionCollectionParameter'MaterialExpressionCollectionParameter_3'
   Pins(0)=EdGraphPin'EdGraphPin_41743'
   NodePosX=-1264
   NodePosY=112
   NodeGuid=21F0A2B24A4DA93589DA589E38804838
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_54"
   Begin Object Class=EdGraphPin Name="EdGraphPin_41745"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_41744"
   End Object
   Begin Object Class=MaterialExpressionComponentMask Name="MaterialExpressionComponentMask_1"
   End Object
   Begin Object Name="EdGraphPin_41745"
      PinName="Output"
      PinFriendlyName=" "
      Direction=EGPD_Output
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_49.EdGraphPin_41727'
   End Object
   Begin Object Name="EdGraphPin_41744"
      PinName="Input"
      PinFriendlyName=" "
      PinType=(PinCategory="required")
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_53.EdGraphPin_41743'
   End Object
   Begin Object Name="MaterialExpressionComponentMask_1"
      Input=(Expression=MaterialExpressionCollectionParameter'MaterialGraphNode_53.MaterialExpressionCollectionParameter_3')
      R=True
      G=True
      B=True
      MaterialExpressionEditorX=-1008
      MaterialExpressionEditorY=208
      MaterialExpressionGuid=56EC5DED4C2EA5C7DC8323BECB6A5F2B
      Material=PreviewMaterial'/Engine/Transient.PreviewMaterial_1'
   End Object
   MaterialExpression=MaterialExpressionComponentMask'MaterialExpressionComponentMask_1'
   Pins(0)=EdGraphPin'EdGraphPin_41744'
   Pins(1)=EdGraphPin'EdGraphPin_41745'
   NodePosX=-1008
   NodePosY=208
   NodeGuid=20445D4D4F2C2290A80DCBA7939AC880
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_55"
   Begin Object Class=EdGraphPin Name="EdGraphPin_41746"
   End Object
   Begin Object Class=MaterialExpressionCollectionParameter Name="MaterialExpressionCollectionParameter_4"
   End Object
   Begin Object Name="EdGraphPin_41746"
      PinName="Output"
      PinFriendlyName=" "
      Direction=EGPD_Output
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_49.EdGraphPin_41729'
   End Object
   Begin Object Name="MaterialExpressionCollectionParameter_4"
      Collection=MaterialParameterCollection'/Game/AudioTutAssets/LocationCollection.LocationCollection'
      ParameterName="Radius"
      ParameterId=B6BACB924CEA0B4CCA2C98BBA4E7B21F
      MaterialExpressionEditorX=-1296
      MaterialExpressionEditorY=384
      MaterialExpressionGuid=8BDCAB464EDCE99C7C4D969BC9BF7BC9
      Material=PreviewMaterial'/Engine/Transient.PreviewMaterial_1'
   End Object
   MaterialExpression=MaterialExpressionCollectionParameter'MaterialExpressionCollectionParameter_4'
   Pins(0)=EdGraphPin'EdGraphPin_41746'
   NodePosX=-1296
   NodePosY=384
   NodeGuid=8170F34F4AEABE76363A208D114F4EA9
End Object


And Here is the Blueprint Graph, you can Copy and paste this into the Blueprint:


Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_1691"
   Begin Object Class=EdGraphPin Name="EdGraphPin_32032"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_32031"
   End Object
   Begin Object Name="EdGraphPin_32032"
      PinName="self"
      PinFriendlyName="Target"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.SpotLightComponent')
      LinkedTo(0)=EdGraphPin'K2Node_VariableGet_1702.EdGraphPin_32191'
   End Object
   Begin Object Name="EdGraphPin_32031"
      PinName="OuterConeAngle"
      Direction=EGPD_Output
      PinType=(PinCategory="float")
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5988.EdGraphPin_37544'
   End Object
   VariableReference=(MemberParent=Class'/Script/Engine.SpotLightComponent',MemberName="OuterConeAngle")
   SelfContextInfo=NotSelfContext
   Pins(0)=EdGraphPin'EdGraphPin_32031'
   Pins(1)=EdGraphPin'EdGraphPin_32032'
   NodePosX=-928
   NodePosY=-2448
   NodeGuid=5AE37A4544F43C37A5A8D7B5E01A6786
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_1692"
   Begin Object Class=EdGraphPin Name="EdGraphPin_32038"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_32037"
   End Object
   Begin Object Name="EdGraphPin_32038"
      PinName="self"
      PinFriendlyName="Target"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.PointLightComponent')
      LinkedTo(0)=EdGraphPin'K2Node_VariableGet_1702.EdGraphPin_32191'
   End Object
   Begin Object Name="EdGraphPin_32037"
      PinName="AttenuationRadius"
      Direction=EGPD_Output
      PinType=(PinCategory="float")
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4732.EdGraphPin_33983'
      LinkedTo(1)=EdGraphPin'K2Node_Knot_1.EdGraphPin_33987'
   End Object
   VariableReference=(MemberParent=Class'/Script/Engine.PointLightComponent',MemberName="AttenuationRadius")
   SelfContextInfo=NotSelfContext
   Pins(0)=EdGraphPin'EdGraphPin_32037'
   Pins(1)=EdGraphPin'EdGraphPin_32038'
   NodePosX=-928
   NodePosY=-2496
   NodeGuid=923EF2DB4599C779E5B9E3AB25C20FBC
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_1702"
   Begin Object Class=EdGraphPin Name="EdGraphPin_32192"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_32191"
   End Object
   Begin Object Name="EdGraphPin_32192"
      PinName="self"
      PinFriendlyName="Target"
      PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/FirstPersonBP/Blueprints/FirstPersonCharacter.FirstPersonCharacter_C')
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_32191"
      PinName="SpotLight"
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.SpotLightComponent')
      LinkedTo(0)=EdGraphPin'K2Node_VariableGet_1692.EdGraphPin_32038'
      LinkedTo(1)=EdGraphPin'K2Node_VariableGet_1691.EdGraphPin_32032'
   End Object
   VariableReference=(MemberName="SpotLight",bSelfContext=True)
   Pins(0)=EdGraphPin'EdGraphPin_32191'
   Pins(1)=EdGraphPin'EdGraphPin_32192'
   NodePosX=-1120
   NodePosY=-2480
   NodeGuid=782546BA45881C545BF8B0BF0DE29405
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_4688"
   Begin Object Class=EdGraphPin Name="EdGraphPin_33827"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33826"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33825"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33824"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33823"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33822"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33821"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33820"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33819"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33818"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33817"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33816"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33815"
   End Object
   Begin Object Name="EdGraphPin_33827"
      PinName="ReturnValue"
      PinToolTip="Return Value
Boolean

True if there was a hit, false otherwise."
      Direction=EGPD_Output
      PinType=(PinCategory="bool")
      DefaultValue="false"
      AutogeneratedDefaultValue="false"
   End Object
   Begin Object Name="EdGraphPin_33826"
      PinName="bIgnoreSelf"
      PinToolTip="Ignore Self
Boolean"
      PinType=(PinCategory="bool")
      DefaultValue="true"
      AutogeneratedDefaultValue="true"
   End Object
   Begin Object Name="EdGraphPin_33825"
      PinName="OutHit"
      PinToolTip="Out Hit
Hit Result Structure

Properties of the trace hit."
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/Engine.HitResult')
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4733.EdGraphPin_33994'
   End Object
   Begin Object Name="EdGraphPin_33824"
      PinName="DrawDebugType"
      PinToolTip="Draw Debug Type
EDrawDebugTrace Enum"
      PinType=(PinCategory="byte",PinSubCategoryObject=Enum'/Script/Engine.EDrawDebugTrace')
      DefaultValue="ForOneFrame"
   End Object
   Begin Object Name="EdGraphPin_33823"
      PinName="ActorsToIgnore"
      PinToolTip="Actors to Ignore
Array of Actor References"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor',bIsArray=True,bIsReference=True,bIsConst=True)
      bDefaultValueIsIgnored=True
   End Object
   Begin Object Name="EdGraphPin_33822"
      PinName="bTraceComplex"
      PinToolTip="Trace Complex
Boolean

True to test against complex collision, false to test against simplified collision."
      PinType=(PinCategory="bool")
      DefaultValue="false"
      AutogeneratedDefaultValue="false"
   End Object
   Begin Object Name="EdGraphPin_33821"
      PinName="TraceChannel"
      PinToolTip="Trace Channel
ETraceTypeQuery Enum"
      PinType=(PinCategory="byte",PinSubCategoryObject=Enum'/Script/Engine.ETraceTypeQuery')
      DefaultValue="TraceTypeQuery1"
   End Object
   Begin Object Name="EdGraphPin_33820"
      PinName="End"
      PinToolTip="End
Vector 

End of line segment."
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector',bIsConst=True)
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_349.EdGraphPin_33981'
   End Object
   Begin Object Name="EdGraphPin_33819"
      PinName="Start"
      PinToolTip="Start
Vector 

Start of line segment."
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector',bIsConst=True)
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5987.EdGraphPin_36970'
   End Object
   Begin Object Name="EdGraphPin_33818"
      PinName="WorldContextObject"
      PinToolTip="World Context Object
Object Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_33817"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet System Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetSystemLibrary')
      DefaultObject=Default__KismetSystemLibrary
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_33816"
      PinName="then"
      PinToolTip="
Exec"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'K2Node_CallMaterialParameterCollectionFunction_45.EdGraphPin_34410'
   End Object
   Begin Object Name="EdGraphPin_33815"
      PinName="execute"
      PinToolTip="
Exec"
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'K2Node_Event_452.EdGraphPin_33829'
   End Object
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetSystemLibrary',MemberName="LineTraceSingle_NEW")
   Pins(0)=EdGraphPin'EdGraphPin_33815'
   Pins(1)=EdGraphPin'EdGraphPin_33816'
   Pins(2)=EdGraphPin'EdGraphPin_33817'
   Pins(3)=EdGraphPin'EdGraphPin_33818'
   Pins(4)=EdGraphPin'EdGraphPin_33819'
   Pins(5)=EdGraphPin'EdGraphPin_33820'
   Pins(6)=EdGraphPin'EdGraphPin_33821'
   Pins(7)=EdGraphPin'EdGraphPin_33822'
   Pins(8)=EdGraphPin'EdGraphPin_33823'
   Pins(9)=EdGraphPin'EdGraphPin_33824'
   Pins(10)=EdGraphPin'EdGraphPin_33825'
   Pins(11)=EdGraphPin'EdGraphPin_33826'
   Pins(12)=EdGraphPin'EdGraphPin_33827'
   NodePosX=-112
   NodePosY=-2992
   NodeGuid=1F1B5D4C4627E7C02917B6B0A8641FD0
End Object
Begin Object Class=K2Node_Event Name="K2Node_Event_452"
   Begin Object Class=EdGraphPin Name="EdGraphPin_33830"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33829"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33828"
   End Object
   Begin Object Name="EdGraphPin_33830"
      PinName="DeltaSeconds"
      PinToolTip="Delta Seconds
Float"
      Direction=EGPD_Output
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
   End Object
   Begin Object Name="EdGraphPin_33829"
      PinName="then"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4688.EdGraphPin_33815'
   End Object
   Begin Object Name="EdGraphPin_33828"
      PinName="OutputDelegate"
      Direction=EGPD_Output
      PinType=(PinCategory="delegate",PinSubCategoryMemberReference=(MemberParent=Class'/Script/Engine.Actor',MemberName="ReceiveTick"))
   End Object
   EventReference=(MemberParent=Class'/Script/Engine.Actor',MemberName="ReceiveTick")
   bOverrideFunction=True
   Pins(0)=EdGraphPin'EdGraphPin_33828'
   Pins(1)=EdGraphPin'EdGraphPin_33829'
   Pins(2)=EdGraphPin'EdGraphPin_33830'
   NodePosX=-560
   NodePosY=-3024
   NodeGuid=4006B1AA40AD796F42F9A8A7430FDB3A
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_4112"
   Begin Object Class=EdGraphPin Name="EdGraphPin_33940"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33939"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33938"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33937"
   End Object
   Begin Object Name="EdGraphPin_33940"
      PinName="ReturnValue"
      PinToolTip="Return Value
Vector "
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_349.EdGraphPin_33979'
   End Object
   Begin Object Name="EdGraphPin_33939"
      PinName="B"
      PinToolTip="B
Rotator "
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Rotator')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5790.EdGraphPin_36968'
   End Object
   Begin Object Name="EdGraphPin_33938"
      PinName="A"
      PinToolTip="A
Vector "
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5987.EdGraphPin_36970'
   End Object
   Begin Object Name="EdGraphPin_33937"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Math Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
      DefaultObject=Default__KismetMathLibrary
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="GreaterGreater_VectorRotator")
   Pins(0)=EdGraphPin'EdGraphPin_33937'
   Pins(1)=EdGraphPin'EdGraphPin_33938'
   Pins(2)=EdGraphPin'EdGraphPin_33939'
   Pins(3)=EdGraphPin'EdGraphPin_33940'
   NodePosX=-608
   NodePosY=-2752
   NodeGuid=6415243A455EC97B88BFF0BBA8BCF73B
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_2215"
   Begin Object Class=EdGraphPin Name="EdGraphPin_33968"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33967"
   End Object
   Begin Object Name="EdGraphPin_33968"
      PinName="self"
      PinFriendlyName="Target"
      PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/FirstPersonBP/Blueprints/FirstPersonCharacter.FirstPersonCharacter_C')
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_33967"
      PinName="SpotLight"
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.SpotLightComponent')
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5790.EdGraphPin_36967'
      LinkedTo(1)=EdGraphPin'K2Node_CallFunction_5987.EdGraphPin_36969'
   End Object
   VariableReference=(MemberName="SpotLight",bSelfContext=True)
   Pins(0)=EdGraphPin'EdGraphPin_33967'
   Pins(1)=EdGraphPin'EdGraphPin_33968'
   NodePosX=-1104
   NodePosY=-2880
   NodeGuid=C623EA1742B98AC89531BCBB147BEE9E
End Object
Begin Object Class=K2Node_CommutativeAssociativeBinaryOperator Name="K2Node_CommutativeAssociativeBinaryOperator_349"
   Begin Object Class=EdGraphPin Name="EdGraphPin_33981"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33980"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33979"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33978"
   End Object
   Begin Object Name="EdGraphPin_33981"
      PinName="ReturnValue"
      PinToolTip="Return Value
Vector "
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4688.EdGraphPin_33820'
   End Object
   Begin Object Name="EdGraphPin_33980"
      PinName="B"
      PinToolTip="B
Vector "
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_663.EdGraphPin_39990'
   End Object
   Begin Object Name="EdGraphPin_33979"
      PinName="A"
      PinToolTip="A
Vector "
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4112.EdGraphPin_33940'
   End Object
   Begin Object Name="EdGraphPin_33978"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Math Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
      DefaultObject=Default__KismetMathLibrary
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Add_VectorVector")
   Pins(0)=EdGraphPin'EdGraphPin_33978'
   Pins(1)=EdGraphPin'EdGraphPin_33979'
   Pins(2)=EdGraphPin'EdGraphPin_33980'
   Pins(3)=EdGraphPin'EdGraphPin_33981'
   NodePosX=-336
   NodePosY=-2752
   NodeGuid=2B5B410C47D14521C17695802B705C43
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_4732"
   Begin Object Class=EdGraphPin Name="EdGraphPin_33986"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33985"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33984"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33983"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33982"
   End Object
   Begin Object Name="EdGraphPin_33986"
      PinName="ReturnValue"
      PinToolTip="Return Value
Vector "
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_663.EdGraphPin_39988'
   End Object
   Begin Object Name="EdGraphPin_33985"
      PinName="Z"
      PinToolTip="Z
Float"
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
   End Object
   Begin Object Name="EdGraphPin_33984"
      PinName="Y"
      PinToolTip="Y
Float"
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
   End Object
   Begin Object Name="EdGraphPin_33983"
      PinName="X"
      PinToolTip="X
Float"
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_VariableGet_1692.EdGraphPin_32037'
   End Object
   Begin Object Name="EdGraphPin_33982"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Math Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
      DefaultObject=Default__KismetMathLibrary
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="MakeVector")
   Pins(0)=EdGraphPin'EdGraphPin_33982'
   Pins(1)=EdGraphPin'EdGraphPin_33983'
   Pins(2)=EdGraphPin'EdGraphPin_33984'
   Pins(3)=EdGraphPin'EdGraphPin_33985'
   Pins(4)=EdGraphPin'EdGraphPin_33986'
   NodePosX=-656
   NodePosY=-2624
   NodeGuid=2578686248E63B605319EF98134988F9
End Object
Begin Object Class=K2Node_Knot Name="K2Node_Knot_1"
   Begin Object Class=EdGraphPin Name="EdGraphPin_33988"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33987"
   End Object
   Begin Object Name="EdGraphPin_33988"
      PinName="OutputPin"
      Direction=EGPD_Output
      PinType=(PinCategory="float")
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5989.EdGraphPin_37549'
   End Object
   Begin Object Name="EdGraphPin_33987"
      PinName="InputPin"
      PinType=(PinCategory="float")
      LinkedTo(0)=EdGraphPin'K2Node_VariableGet_1692.EdGraphPin_32037'
      bDefaultValueIsIgnored=True
   End Object
   Pins(0)=EdGraphPin'EdGraphPin_33987'
   Pins(1)=EdGraphPin'EdGraphPin_33988'
   NodePosX=736
   NodePosY=-2480
   NodeGuid=28240480408CE329D0AF04B57328B624
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_4733"
   Begin Object Class=EdGraphPin Name="EdGraphPin_34008"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34007"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34006"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34005"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34004"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34003"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34002"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34001"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34000"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33999"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33998"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33997"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33996"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33995"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33994"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_33993"
   End Object
   Begin Object Name="EdGraphPin_34008"
      PinName="TraceEnd"
      PinToolTip="Trace End
Vector "
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      AutogeneratedDefaultValue="0, 0, 0"
   End Object
   Begin Object Name="EdGraphPin_34007"
      PinName="TraceStart"
      PinToolTip="Trace Start
Vector "
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
   End Object
   Begin Object Name="EdGraphPin_34006"
      PinName="HitItem"
      PinToolTip="Hit Item
Integer

Primitive-specific data recording which item in the primitive was hit"
      Direction=EGPD_Output
      PinType=(PinCategory="int")
      DefaultValue="0"
      AutogeneratedDefaultValue="0"
   End Object
   Begin Object Name="EdGraphPin_34005"
      PinName="HitBoneName"
      PinToolTip="Hit Bone Name
Name

Name of the bone hit (valid only if we hit a skeletal mesh)."
      Direction=EGPD_Output
      PinType=(PinCategory="name")
      DefaultValue="None"
      AutogeneratedDefaultValue="None"
   End Object
   Begin Object Name="EdGraphPin_34004"
      PinName="HitComponent"
      PinToolTip="Hit Component
Primitive Component Reference

PrimitiveComponent hit by the trace."
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.PrimitiveComponent')
   End Object
   Begin Object Name="EdGraphPin_34003"
      PinName="HitActor"
      PinToolTip="Hit Actor
Actor Reference

Actor hit by the trace."
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
   End Object
   Begin Object Name="EdGraphPin_34002"
      PinName="PhysMat"
      PinToolTip="Phys Mat
Physical Material Reference

Physical material that was hit. Must set bReturnPhysicalMaterial to true in the query params for this to be returned."
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.PhysicalMaterial')
   End Object
   Begin Object Name="EdGraphPin_34001"
      PinName="ImpactNormal"
      PinToolTip="Impact Normal
Vector 

Normal of the hit in world space, for the object that was hit by the sweep."
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
   End Object
   Begin Object Name="EdGraphPin_34000"
      PinName="Normal"
      PinToolTip="Normal
Vector 

Normal of the hit in world space, for the object that was swept (e.g. for a sphere trace this points towards the sphere\'s center). Equal to ImpactNormal for line tests."
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
   End Object
   Begin Object Name="EdGraphPin_33999"
      PinName="ImpactPoint"
      PinToolTip="Impact Point
Vector 

Location of the actual contact point of the trace shape with the surface of the hit object. Equal to Location in the case of an initial overlap."
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4871.EdGraphPin_34418'
      LinkedTo(1)=EdGraphPin'K2Node_CallFunction_6138.EdGraphPin_37906'
   End Object
   Begin Object Name="EdGraphPin_33998"
      PinName="Location"
      PinToolTip="Location
Vector 

Location of the hit in world space. If this was a swept shape test, this is the location where we can place the shape in the world where it will not penetrate."
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      AutogeneratedDefaultValue="0, 0, 0"
   End Object
   Begin Object Name="EdGraphPin_33997"
      PinName="Time"
      PinToolTip="Time
Float

\'Time\' of impact along trace direction ranging from 0.0 to 1.0) if there is a hit, indicating time between start and end. Equals 1.0 if there is no hit."
      Direction=EGPD_Output
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
   End Object
   Begin Object Name="EdGraphPin_33996"
      PinName="bInitialOverlap"
      PinToolTip="Initial Overlap
Boolean

True if the hit started in an initial overlap. In this case some other values should be interpreted differently. Time will be 0, ImpactPoint will equal Location, and normals will be equal and indicate a depenetration vector."
      Direction=EGPD_Output
      PinType=(PinCategory="bool")
      DefaultValue="false"
      AutogeneratedDefaultValue="false"
   End Object
   Begin Object Name="EdGraphPin_33995"
      PinName="bBlockingHit"
      PinToolTip="Blocking Hit
Boolean

True if there was a blocking hit, false otherwise."
      Direction=EGPD_Output
      PinType=(PinCategory="bool")
      DefaultValue="false"
      AutogeneratedDefaultValue="false"
   End Object
   Begin Object Name="EdGraphPin_33994"
      PinName="Hit"
      PinToolTip="Hit
Hit Result Structure (by ref)

The source HitResult."
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/Engine.HitResult',bIsReference=True,bIsConst=True)
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4688.EdGraphPin_33825'
      bDefaultValueIsIgnored=True
   End Object
   Begin Object Name="EdGraphPin_33993"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Gameplay Statics Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.GameplayStatics')
      DefaultObject=Default__GameplayStatics
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.GameplayStatics',MemberName="BreakHitResult")
   Pins(0)=EdGraphPin'EdGraphPin_33993'
   Pins(1)=EdGraphPin'EdGraphPin_33994'
   Pins(2)=EdGraphPin'EdGraphPin_33995'
   Pins(3)=EdGraphPin'EdGraphPin_33996'
   Pins(4)=EdGraphPin'EdGraphPin_33997'
   Pins(5)=EdGraphPin'EdGraphPin_33998'
   Pins(6)=EdGraphPin'EdGraphPin_33999'
   Pins(7)=EdGraphPin'EdGraphPin_34000'
   Pins(8)=EdGraphPin'EdGraphPin_34001'
   Pins(9)=EdGraphPin'EdGraphPin_34002'
   Pins(10)=EdGraphPin'EdGraphPin_34003'
   Pins(11)=EdGraphPin'EdGraphPin_34004'
   Pins(12)=EdGraphPin'EdGraphPin_34005'
   Pins(13)=EdGraphPin'EdGraphPin_34006'
   Pins(14)=EdGraphPin'EdGraphPin_34007'
   Pins(15)=EdGraphPin'EdGraphPin_34008'
   NodePosX=576
   NodePosY=-2992
   NodeGuid=FFFAAD6E4A8E1BFFDBF360AF6F115331
End Object
Begin Object Class=K2Node_CallMaterialParameterCollectionFunction Name="K2Node_CallMaterialParameterCollectionFunction_45"
   Begin Object Class=EdGraphPin Name="EdGraphPin_34416"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34415"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34414"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34413"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34412"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34411"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34410"
   End Object
   Begin Object Name="EdGraphPin_34416"
      PinName="ParameterValue"
      PinToolTip="Parameter Value
Linear Color Structure (by ref)"
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.LinearColor',bIsReference=True,bIsConst=True)
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4871.EdGraphPin_34419'
      bDefaultValueIsIgnored=True
   End Object
   Begin Object Name="EdGraphPin_34415"
      PinName="ParameterName"
      PinToolTip="Parameter Name
Name"
      PinType=(PinCategory="name")
      DefaultValue="HotSpot"
      AutogeneratedDefaultValue="None"
   End Object
   Begin Object Name="EdGraphPin_34414"
      PinName="Collection"
      PinToolTip="Collection
Material Parameter Collection Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.MaterialParameterCollection')
      DefaultObject=MaterialParameterCollection'/Game/AudioTutAssets/LocationCollection.LocationCollection'
   End Object
   Begin Object Name="EdGraphPin_34413"
      PinName="WorldContextObject"
      PinToolTip="World Context Object
Object Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_34412"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Material Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMaterialLibrary')
      DefaultObject=Default__KismetMaterialLibrary
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_34411"
      PinName="then"
      PinToolTip="
Exec"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'K2Node_CallMaterialParameterCollectionFunction_28.EdGraphPin_37532'
   End Object
   Begin Object Name="EdGraphPin_34410"
      PinName="execute"
      PinToolTip="
Exec"
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4688.EdGraphPin_33816'
   End Object
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMaterialLibrary',MemberName="SetVectorParameterValue")
   Pins(0)=EdGraphPin'EdGraphPin_34410'
   Pins(1)=EdGraphPin'EdGraphPin_34411'
   Pins(2)=EdGraphPin'EdGraphPin_34412'
   Pins(3)=EdGraphPin'EdGraphPin_34413'
   Pins(4)=EdGraphPin'EdGraphPin_34414'
   Pins(5)=EdGraphPin'EdGraphPin_34415'
   Pins(6)=EdGraphPin'EdGraphPin_34416'
   NodePosX=1104
   NodePosY=-2992
   NodeGuid=E0D5906849C49FD4A6C53E93FD27BB22
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_4871"
   Begin Object Class=EdGraphPin Name="EdGraphPin_34419"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34418"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_34417"
   End Object
   Begin Object Name="EdGraphPin_34419"
      PinName="ReturnValue"
      PinToolTip="Return Value
Linear Color Structure"
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.LinearColor')
      LinkedTo(0)=EdGraphPin'K2Node_CallMaterialParameterCollectionFunction_45.EdGraphPin_34416'
   End Object
   Begin Object Name="EdGraphPin_34418"
      PinName="InVec"
      PinToolTip="In Vec
Vector "
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4733.EdGraphPin_33999'
   End Object
   Begin Object Name="EdGraphPin_34417"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Math Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
      DefaultObject=Default__KismetMathLibrary
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Conv_VectorToLinearColor")
   Pins(0)=EdGraphPin'EdGraphPin_34417'
   Pins(1)=EdGraphPin'EdGraphPin_34418'
   Pins(2)=EdGraphPin'EdGraphPin_34419'
   NodePosX=880
   NodePosY=-2864
   NodeGuid=D45948C142FA4402A0C8C08C98CFB1B0
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_5790"
   Begin Object Class=EdGraphPin Name="EdGraphPin_36968"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_36967"
   End Object
   Begin Object Name="EdGraphPin_36968"
      PinName="ReturnValue"
      PinToolTip="Return Value
Rotator "
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Rotator')
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4112.EdGraphPin_33939'
   End Object
   Begin Object Name="EdGraphPin_36967"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Scene Component Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.SceneComponent')
      LinkedTo(0)=EdGraphPin'K2Node_VariableGet_2215.EdGraphPin_33967'
   End Object
   bIsPureFunc=True
   bIsConstFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.SceneComponent',MemberName="K2_GetComponentRotation")
   Pins(0)=EdGraphPin'EdGraphPin_36967'
   Pins(1)=EdGraphPin'EdGraphPin_36968'
   NodePosX=-848
   NodePosY=-2784
   NodeGuid=C777D4994777882F69ABDB8B3C548F43
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_5987"
   Begin Object Class=EdGraphPin Name="EdGraphPin_36970"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_36969"
   End Object
   Begin Object Name="EdGraphPin_36970"
      PinName="ReturnValue"
      PinToolTip="Return Value
Vector "
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4688.EdGraphPin_33819'
      LinkedTo(1)=EdGraphPin'K2Node_CallFunction_4112.EdGraphPin_33938'
   End Object
   Begin Object Name="EdGraphPin_36969"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Scene Component Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.SceneComponent')
      LinkedTo(0)=EdGraphPin'K2Node_VariableGet_2215.EdGraphPin_33967'
   End Object
   bIsPureFunc=True
   bIsConstFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.SceneComponent',MemberName="K2_GetComponentLocation")
   Pins(0)=EdGraphPin'EdGraphPin_36969'
   Pins(1)=EdGraphPin'EdGraphPin_36970'
   NodePosX=-848
   NodePosY=-2880
   NodeGuid=C358748B45B86AF493B82ABE04660AA3
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_5986"
   Begin Object Class=EdGraphPin Name="EdGraphPin_37519"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37518"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37517"
   End Object
   Begin Object Name="EdGraphPin_37519"
      PinName="ReturnValue"
      PinToolTip="Return Value
Float"
      Direction=EGPD_Output
      PinType=(PinCategory="float")
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5989.EdGraphPin_37547'
   End Object
   Begin Object Name="EdGraphPin_37518"
      PinName="A"
      PinToolTip="A
Vector "
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_6138.EdGraphPin_37908'
   End Object
   Begin Object Name="EdGraphPin_37517"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Math Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
      DefaultObject=Default__KismetMathLibrary
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="VSize")
   Pins(0)=EdGraphPin'EdGraphPin_37517'
   Pins(1)=EdGraphPin'EdGraphPin_37518'
   Pins(2)=EdGraphPin'EdGraphPin_37519'
   NodePosX=976
   NodePosY=-2720
   NodeGuid=092C14D340E41B2AF8F01895D7F3C272
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_1875"
   Begin Object Class=EdGraphPin Name="EdGraphPin_37521"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37520"
   End Object
   Begin Object Name="EdGraphPin_37521"
      PinName="self"
      PinFriendlyName="Target"
      PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/FirstPersonBP/Blueprints/FirstPersonCharacter.FirstPersonCharacter_C')
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_37520"
      PinName="SpotLight"
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.SpotLightComponent')
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5791.EdGraphPin_37526'
   End Object
   VariableReference=(MemberName="SpotLight",bSelfContext=True)
   Pins(0)=EdGraphPin'EdGraphPin_37520'
   Pins(1)=EdGraphPin'EdGraphPin_37521'
   NodePosX=416
   NodePosY=-2544
   NodeGuid=0D8DBB45451BE3330CF9E7A50C17495E
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_5791"
   Begin Object Class=EdGraphPin Name="EdGraphPin_37527"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37526"
   End Object
   Begin Object Name="EdGraphPin_37527"
      PinName="ReturnValue"
      PinToolTip="Return Value
Vector "
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_6138.EdGraphPin_37907'
   End Object
   Begin Object Name="EdGraphPin_37526"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Scene Component Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.SceneComponent')
      LinkedTo(0)=EdGraphPin'K2Node_VariableGet_1875.EdGraphPin_37520'
   End Object
   bIsPureFunc=True
   bIsConstFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.SceneComponent',MemberName="K2_GetComponentLocation")
   Pins(0)=EdGraphPin'EdGraphPin_37526'
   Pins(1)=EdGraphPin'EdGraphPin_37527'
   NodePosX=608
   NodePosY=-2576
   NodeGuid=45F0DE224B78223F26292EBF68E22F99
End Object
Begin Object Class=K2Node_CallMaterialParameterCollectionFunction Name="K2Node_CallMaterialParameterCollectionFunction_28"
   Begin Object Class=EdGraphPin Name="EdGraphPin_37538"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37537"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37536"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37535"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37534"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37533"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37532"
   End Object
   Begin Object Name="EdGraphPin_37538"
      PinName="ParameterValue"
      PinToolTip="Parameter Value
Float"
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_526.EdGraphPin_37542'
   End Object
   Begin Object Name="EdGraphPin_37537"
      PinName="ParameterName"
      PinToolTip="Parameter Name
Name"
      PinType=(PinCategory="name")
      DefaultValue="Radius"
      AutogeneratedDefaultValue="None"
   End Object
   Begin Object Name="EdGraphPin_37536"
      PinName="Collection"
      PinToolTip="Collection
Material Parameter Collection Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.MaterialParameterCollection')
      DefaultObject=MaterialParameterCollection'/Game/AudioTutAssets/LocationCollection.LocationCollection'
   End Object
   Begin Object Name="EdGraphPin_37535"
      PinName="WorldContextObject"
      PinToolTip="World Context Object
Object Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_37534"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Material Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMaterialLibrary')
      DefaultObject=Default__KismetMaterialLibrary
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_37533"
      PinName="then"
      PinToolTip="
Exec"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
   End Object
   Begin Object Name="EdGraphPin_37532"
      PinName="execute"
      PinToolTip="
Exec"
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'K2Node_CallMaterialParameterCollectionFunction_45.EdGraphPin_34411'
   End Object
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMaterialLibrary',MemberName="")
   Pins(0)=EdGraphPin'EdGraphPin_37532'
   Pins(1)=EdGraphPin'EdGraphPin_37533'
   Pins(2)=EdGraphPin'EdGraphPin_37534'
   Pins(3)=EdGraphPin'EdGraphPin_37535'
   Pins(4)=EdGraphPin'EdGraphPin_37536'
   Pins(5)=EdGraphPin'EdGraphPin_37537'
   Pins(6)=EdGraphPin'EdGraphPin_37538'
   NodePosX=1648
   NodePosY=-2992
   NodeGuid=87ABCA4F4E5C3601A43959915A330D7C
End Object
Begin Object Class=K2Node_CommutativeAssociativeBinaryOperator Name="K2Node_CommutativeAssociativeBinaryOperator_526"
   Begin Object Class=EdGraphPin Name="EdGraphPin_37542"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37541"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37540"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37539"
   End Object
   Begin Object Name="EdGraphPin_37542"
      PinName="ReturnValue"
      PinToolTip="Return Value
Float"
      Direction=EGPD_Output
      PinType=(PinCategory="float")
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_CallMaterialParameterCollectionFunction_28.EdGraphPin_37538'
   End Object
   Begin Object Name="EdGraphPin_37541"
      PinName="B"
      PinToolTip="B
Float"
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5988.EdGraphPin_37545'
   End Object
   Begin Object Name="EdGraphPin_37540"
      PinName="A"
      PinToolTip="A
Float"
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5989.EdGraphPin_37550'
   End Object
   Begin Object Name="EdGraphPin_37539"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Math Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
      DefaultObject=Default__KismetMathLibrary
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Multiply_FloatFloat")
   Pins(0)=EdGraphPin'EdGraphPin_37539'
   Pins(1)=EdGraphPin'EdGraphPin_37540'
   Pins(2)=EdGraphPin'EdGraphPin_37541'
   Pins(3)=EdGraphPin'EdGraphPin_37542'
   NodePosX=1520
   NodePosY=-2656
   NodeGuid=9FED6082403AE21F56A5A9B447F5C725
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_5988"
   Begin Object Class=EdGraphPin Name="EdGraphPin_37545"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37544"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37543"
   End Object
   Begin Object Name="EdGraphPin_37545"
      PinName="ReturnValue"
      PinToolTip="Return Value
Float"
      Direction=EGPD_Output
      PinType=(PinCategory="float")
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_526.EdGraphPin_37541'
   End Object
   Begin Object Name="EdGraphPin_37544"
      PinName="A"
      PinToolTip="A
Float"
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_VariableGet_1691.EdGraphPin_32031'
   End Object
   Begin Object Name="EdGraphPin_37543"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Math Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
      DefaultObject=Default__KismetMathLibrary
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="DegreesToRadians")
   Pins(0)=EdGraphPin'EdGraphPin_37543'
   Pins(1)=EdGraphPin'EdGraphPin_37544'
   Pins(2)=EdGraphPin'EdGraphPin_37545'
   NodePosX=704
   NodePosY=-2448
   NodeGuid=3F0DF41D4922DF65A38E579E76209DD8
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_5989"
   Begin Object Class=EdGraphPin Name="EdGraphPin_37550"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37549"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37548"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37547"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37546"
   End Object
   Begin Object Name="EdGraphPin_37550"
      PinName="ReturnValue"
      PinToolTip="Return Value
Float"
      Direction=EGPD_Output
      PinType=(PinCategory="float")
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_526.EdGraphPin_37540'
   End Object
   Begin Object Name="EdGraphPin_37549"
      PinName="Max"
      PinToolTip="Max
Float"
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_Knot_1.EdGraphPin_33988'
   End Object
   Begin Object Name="EdGraphPin_37548"
      PinName="Min"
      PinToolTip="Min
Float"
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
   End Object
   Begin Object Name="EdGraphPin_37547"
      PinName="Value"
      PinToolTip="Value
Float"
      PinType=(PinCategory="float")
      DefaultValue="0.0"
      AutogeneratedDefaultValue="0.0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5986.EdGraphPin_37519'
   End Object
   Begin Object Name="EdGraphPin_37546"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Math Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
      DefaultObject=Default__KismetMathLibrary
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="FClamp")
   Pins(0)=EdGraphPin'EdGraphPin_37546'
   Pins(1)=EdGraphPin'EdGraphPin_37547'
   Pins(2)=EdGraphPin'EdGraphPin_37548'
   Pins(3)=EdGraphPin'EdGraphPin_37549'
   Pins(4)=EdGraphPin'EdGraphPin_37550'
   NodePosX=1184
   NodePosY=-2720
   NodeGuid=8D640F2748925D9E394EC8A314C9DA6C
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_6138"
   Begin Object Class=EdGraphPin Name="EdGraphPin_37908"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37907"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37906"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_37905"
   End Object
   Begin Object Name="EdGraphPin_37908"
      PinName="ReturnValue"
      PinToolTip="Return Value
Vector "
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5986.EdGraphPin_37518'
   End Object
   Begin Object Name="EdGraphPin_37907"
      PinName="B"
      PinToolTip="B
Vector "
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_5791.EdGraphPin_37527'
   End Object
   Begin Object Name="EdGraphPin_37906"
      PinName="A"
      PinToolTip="A
Vector "
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4733.EdGraphPin_33999'
   End Object
   Begin Object Name="EdGraphPin_37905"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Math Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
      DefaultObject=Default__KismetMathLibrary
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Subtract_VectorVector")
   Pins(0)=EdGraphPin'EdGraphPin_37905'
   Pins(1)=EdGraphPin'EdGraphPin_37906'
   Pins(2)=EdGraphPin'EdGraphPin_37907'
   Pins(3)=EdGraphPin'EdGraphPin_37908'
   NodePosX=848
   NodePosY=-2720
   NodeGuid=D40083774C59645813A422B26E56796D
End Object
Begin Object Class=K2Node_CommutativeAssociativeBinaryOperator Name="K2Node_CommutativeAssociativeBinaryOperator_663"
   Begin Object Class=EdGraphPin Name="EdGraphPin_39990"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_39989"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_39988"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_39987"
   End Object
   Begin Object Name="EdGraphPin_39990"
      PinName="ReturnValue"
      PinToolTip="Return Value
Vector "
      Direction=EGPD_Output
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_349.EdGraphPin_33980'
   End Object
   Begin Object Name="EdGraphPin_39989"
      PinName="B"
      PinToolTip="B
Vector "
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="50.000000, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
   End Object
   Begin Object Name="EdGraphPin_39988"
      PinName="A"
      PinToolTip="A
Vector "
      PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
      DefaultValue="0, 0, 0"
      AutogeneratedDefaultValue="0, 0, 0"
      LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4732.EdGraphPin_33986'
   End Object
   Begin Object Name="EdGraphPin_39987"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="Target
Kismet Math Library Reference"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
      DefaultObject=Default__KismetMathLibrary
      bHidden=True
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Add_VectorVector")
   Pins(0)=EdGraphPin'EdGraphPin_39987'
   Pins(1)=EdGraphPin'EdGraphPin_39988'
   Pins(2)=EdGraphPin'EdGraphPin_39989'
   Pins(3)=EdGraphPin'EdGraphPin_39990'
   NodePosX=-448
   NodePosY=-2608
   NodeGuid=3DA287154ED1A3898076238365201326
End Object


I’ve made a horrible mistake. I completely bungled the vector math for the line trace. Here’s a correction that works a lot better.

a9856254fcb66868155bed867723ba73ed362ef7.jpeg

It’s a bit simplier, but maybe it could work
You could use it as a start

It works perfectly! You saved my day, thanks a lot! :slight_smile: