Rotation Direction and Child Objects Problem

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • 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.

  • 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).

  • 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.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!