Page 1 of 1

Can I set the transform arrows to a certain angle?

PostPosted: Tue Sep 26, 2023 9:57 pm
by Pro Effects MAX
I want to animate my object on a certain angle, so I’m thinking, I’d like to rotate my transform arrows to a certain angle so I can transform my object in a straight line on a certain angle. Can I do this?
Screenshot 2023-09-26 at 4.56.20 PM.png
Screenshot 2023-09-26 at 4.56.20 PM.png (73.23 KiB) Viewed 1770 times

Re: Can I set the transform arrows to a certain angle?

PostPosted: Wed Sep 27, 2023 12:00 am
by Chad Capeland
Might look at the Vector Result or Offset modifiers.

Re: Can I set the transform arrows to a certain angle?

PostPosted: Wed Sep 27, 2023 1:28 pm
by birdseye
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"
}