User Tag List

Results 1 to 9 of 9

Thread: Rotation Direction and Child Objects Problem

  1. #1
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Rotation Direction and Child Objects Problem

    Drawing a blank in how to figure this out. I have a project where I'm rotating one object in the direction of another, and for the second object, child objects rotate with it, a left child object and a right child object. I'll attempt to explain.

    ---

    Object A looks toward (XMouse, YMouse)
    Object B rotates toward direction of Object A

    Left Child Object rotates to direction of Object B.
    After a half second, Right Child Object rotates to direction of Object B.

    OR

    Right Child Object rotates to direction of Object B.
    After a half second, Left Child Object rotates to direction of Object B.

    ---

    What I want to make it do is rotate either the Left or Right Child Object "first" depending on which way the rotation occurs. Like if you were standing still and turned your body left, you'd step out with your left foot first in initiating the turn. I'm not sure how to make Fusion 2.5 do that as the directions become bothered by the 0 - 31 directional limit, meaning going from, for example, direction 29 to direction 4 doesn't work right.

  2. #2
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Might there be any solutions out there?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    tompa's Avatar
    Join Date
    Nov 2011
    Location
    Uppsala, Sweden
    Posts
    358
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe here.

  4. #4
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nope. Granted, it gave me an idea I've been experimenting with in the meantime, but that's not what I'm looking for.

    Basically, if "eyes" direction is looking at a trajectory greater than/ to the left of "head" direction, move "left foot" first when turning towards it; or if "eyes" direction is looking at a trajectory less than/ to the right of "head" direction, move "right foot" first when turning towards it.

    But without the direction issues getting in the way (0 to 31 messing things up).

  5. #5
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would it be better if I were to make an example .mfa?

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2015
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you tried using angles instead of directions?

  7. #7
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't tried anything yet. Been looking for any solution that'll make this work. But if it's getting into math, I'd need to figure out how to convert angles into directions, then find the lesser angle and have the objects rotate in the direction of that angle.

  8. #8
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really, if someone could just help me figure out what way something is rotating, that's all I need. Something like, "if rotating left, set flag 0 off. If rotating right, set flag 0 off."

  9. #9
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright. Nevermind! I got it! Thanks anyway for those who commented, but I finally got something working, although a bit of a work around.

Similar Threads

  1. Smooth rotation of objects?
    By AndyBazooka in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th November 2013, 07:53 PM
  2. Understanding ForEach Object and Parent/Child Objects...
    By TheFieryPlumber in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 24th May 2013, 03:19 PM
  3. Advanced Direction Object with 360 degrees rotation
    By loglady in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd March 2013, 03:36 PM
  4. Parent and Child active objects?
    By Koric in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd December 2009, 01:50 PM

Tags for this Thread

Posting Permissions

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