If you mean you want the angle of your object to be influenced by the direction that the line is heading then simply keyframe your points, right click on Angle, choose Connect To - Path - Heading.
Edit I'll try again this time with all the nodes selected.
- Code: Select all
{
Tools = ordered() {
Background1 = Background {
Inputs = {
GlobalOut = Input { Value = 500, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftRed = Input { Value = 1, },
},
ViewInfo = OperatorInfo { Pos = { 212.667, 10.3939 } },
},
Background2 = Background {
CtrlWZoom = false,
Inputs = {
GlobalOut = Input { Value = 500, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftBlue = Input { Value = 1, },
},
ViewInfo = OperatorInfo { Pos = { 213.333, 49.1818 } },
},
Merge1 = Merge {
Inputs = {
Background = Input {
SourceOp = "Background2",
Source = "Output",
},
Foreground = Input {
SourceOp = "Background1",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
EffectMask = Input {
SourceOp = "Rectangle1",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { 326.667, 49.1818 } },
},
Rectangle1 = RectangleMask {
CtrlWZoom = false,
Inputs = {
Filter = Input { Value = FuID { "Fast Gaussian" }, },
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Center = Input {
SourceOp = "Path1",
Source = "Position",
},
Width = Input { Value = 0.09, },
Height = Input { Value = 0.16, },
Angle = Input {
SourceOp = "Path1",
Source = "Heading",
},
},
ViewInfo = OperatorInfo { Pos = { 326.667, 84.9394 } },
},
Path1 = PolyPath {
DrawMode = "InsertAndModify",
CtrlWZoom = false,
Inputs = {
Displacement = Input {
SourceOp = "Path1Displacement",
Source = "Value",
},
PolyLine = Input {
Value = Polyline {
Points = {
{ LockY = true, X = -0.355614973262032, Y = 0.30166270783848, RX = 0.026327153460515, RY = -0.218260564451565 },
{ LockY = true, X = -0.203208556149733, Y = -0.213776722090261, LX = -0.0968865082321111, LY = 0.0894930087475309, RX = 0.164675017030395, RY = -0.152108513440229 },
{ LockY = true, X = 0.352941176470588, Y = -0.258907363420428, LX = -0.170464646113991, LY = -0.130401630182476, RX = 0.0841211575782268, RY = 0.064350798427155 },
{ LockY = true, X = 0.374331550802139, Y = 0.228028503562945, LX = 0.0835289816685828, LY = -0.0667442427891326, RX = -0.160776289748047, RY = 0.128469083464425 },
{ LockY = true, X = -0.152406417112299, Y = 0.144893111638955, LX = 0.182980839083196, LY = 0.105802237694208 }
}
},
},
},
},
Path1Displacement = BezierSpline {
SplineColor = { Red = 255, Green = 0, Blue = 255 },
CtrlWZoom = false,
NameSet = true,
KeyFrames = {
[0] = { 0, RH = { 39, 0.0812225974980479 }, Flags = { Linear = true, LockedY = true } },
[117] = { 0.243667792494144, LH = { 78, 0.162445194996096 }, RH = { 166.333333333333, 0.334207275912524 }, Flags = { Linear = true, LockedY = true } },
[265] = { 0.515286242749283, LH = { 215.666666666667, 0.424746759330903 }, RH = { 309.666666666667, 0.591881263412903 }, Flags = { Linear = true, LockedY = true } },
[399] = { 0.745071304740141, LH = { 354.333333333333, 0.668476284076522 }, RH = { 432.666666666667, 0.830047536493428 }, Flags = { Linear = true, LockedY = true } },
[500] = { 1, LH = { 466.333333333333, 0.915023768246714 }, Flags = { Linear = true, LockedY = true } }
}
}
},
ActiveTool = "Rectangle1"
}