User Tag List

Results 1 to 3 of 3

Thread: Set coordinate of active and respecting "not following frame" or 0 layer coefficient?

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    824
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)

    Set coordinate of active and respecting "not following frame" or 0 layer coefficient?

    I'm using this to create a sine motion on a set of objects that have "follow the frame" de-ticked, so they don't "follow the frame"
    unknown.png

    It works easier using "not follow the frame" than trying to enforce a layer coefficient, but I'd be willing to use a separate layer with 0 coefficient if it's possible. Trouble is, setting the coordinate completely ignores the fact it's supposed to stay glued to the camera, and I couldn't work out how to offset a 0 layer coefficient to do this either. How do I use this sinewave effect and keep it glued to the camera?

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    679
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    You could get the difference the camera has moved each frame and add it to the position of your objects (or origin values, if you're using them for sinewave movement). Reserve two values, named "x diff" and "y diff", and set them like so:


    -objects go through their normal movement here

    -always
    --> set x diff to x left frame
    --> set y diff to y top frame

    -camera scrolling happens here

    -always
    --> set x diff to x left frame - x diff
    --> set y diff to y top frame - y diff

    -always
    --> add x diff to object x
    --> add y diff to object y


    Event order is important here. The diff values have to be set to frame edges before the camera scrolls. Then, after the camera has scrolled, they are set again to get the difference.

    Example: follow frame with frame diff2.mfa

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    824
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by casleziro View Post
    You could get the difference the camera has moved each frame and add it to the position of your objects (or origin values, if you're using them for sinewave movement). Reserve two values, named "x diff" and "y diff", and set them like so:


    -objects go through their normal movement here

    -always
    --> set x diff to x left frame
    --> set y diff to y top frame

    -camera scrolling happens here

    -always
    --> set x diff to x left frame - x diff
    --> set y diff to y top frame - y diff

    -always
    --> add x diff to object x
    --> add y diff to object y


    Event order is important here. The diff values have to be set to frame edges before the camera scrolls. Then, after the camera has scrolled, they are set again to get the difference.

    Example: follow frame with frame diff2.mfa
    Perfect, thank you! I managed to hack my way to use the sequencing of yours for the X position to manually force a "don't follow the frame" effect, and for the Y, it seemed to strangely work with just + y Top Frame for some reason! Thanks ever so much, I was really struggling with this!

Similar Threads

  1. Replies: 1
    Last Post: 2nd September 2018, 03:15 PM
  2. Replies: 3
    Last Post: 27th August 2017, 09:02 PM
  3. Replies: 3
    Last Post: 2nd October 2015, 02:53 PM
  4. Replies: 6
    Last Post: 18th August 2015, 02:23 AM
  5. "Bug" For Saving and Loading Frame Positions AND "Timer Glitch"?
    By Zarpo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th March 2012, 12:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •