User Tag List

Results 1 to 4 of 4

Thread: Direction of an object with elliptical movement?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2021
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Direction of an object with elliptical movement?

    I'm pretty sure there must be some post out there where the answer I need is, but I can't find it.
    I need to know the direction of the object with the elliptical movement of the "Clickteam Movement Controller" object, to give it the rotation.
    I've been trying to find the formula, but this one is having a hard time.


    Thanks in advance.


    PS: It has to be the elliptical motion of that object, it can't be any other alternative.

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2021
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After doing tests I was able to find something approximate, although it looks acceptable up to x/y between 1/4 and 4, if it moves away from that, the margin of error becomes very large and the error begins to be very noticeable.

    Attachment 30992

    β - is the angle to which the object should be rotated
    α - is the current angle taken from the clickteam movement controller object
    offs - is the offset
    x - is the amplitud X
    y - is the amplitud Y
    ? - is "k", it stayed that way from previous tests

    For now I'm going to use this formula, but if someone share the real formula I would be very grateful.


    ps: Since it is relevant, I share this other formula, it is for the same thing but for the angle of the sinusoidal movement.

    Attachment 30993

    β - is the angle between the starting point and the arrival point
    α - is the current angle taken from the clickteam movement controller object
    a - is the amplitude
    f - is the angular speed (I called it "f" because it fits "frequency" better)
    π - 3.1416 is enough
    v - is the speed

    Although I also tried it out by trial and error, it worked fine in every case I tried it, so I'm assuming it's the exact formula.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,652
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Attachments aren't working

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2021
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh sorry, I didn't notice.
    I don't quite understand this, so I'm going to upload the images to a random server and share the links.

    Attachment 1 https://i.ibb.co/KhBfVPR/imagen-2022-01-19-044946.png
    β - is the angle to which the object should be rotated
    α - is the current angle taken from the clickteam movement controller object
    offs - is the offset
    x - is the amplitud X
    y - is the amplitud Y
    (I took the opportunity to replace "?")


    https://i.ibb.co/TH6q0DF/imagen-2022-01-19-045544.png
    β - is the angle between the starting point and the arrival point
    α - is the current angle taken from the clickteam movement controller object
    a - is the amplitude
    f - is the angular speed (I called it "f" because it fits "frequency" better)
    π - 3.1416 is enough
    v - is the speed


    I take this opportunity to repeat that if someone knows the real formula for the direction in elliptical motion, I would appreciate it if you share it.
    Images attachées Images attachées

Similar Threads

  1. Replies: 2
    Last Post: 29th August 2021, 03:07 PM
  2. Using the accelerometer object with 8-direction movement?
    By MrJustan in forum Android Export Module 2.5
    Replies: 0
    Last Post: 3rd June 2019, 03:30 AM
  3. Physics Platform Movement Object - Can´t set a direction!
    By SErVER51 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 17th March 2017, 05:41 AM
  4. Walking issue 8 direction movement, want isometric movement
    By Klownzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th December 2014, 09:49 PM
  5. Spaceship movement left and right trought bouncing ball movement instead 8 direction?
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd May 2012, 09:33 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
  •