User Tag List

Results 1 to 3 of 3

Thread: Ideas for object whirl(spin) through 360░ degrees from any angle

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Wodjanoi's Avatar
    Join Date
    Jun 2015
    Location
    Germany
    Posts
    650
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Ideas for object whirl(spin) through 360░ degrees from any angle

    How could I solve this effectively?
    The start situation is an object that rotates slowly around its own axis clockwise infinitely and I want to implement this behaviour:
    Start fast rotation on command from current angle with constant speed until being turned through 180 degrees.
    At this point reduce rotation speed dynamically to zero for the next 180░ and continue with slow rotation.
    One 360░ spin should be fast enough to finish in 1 second.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleInstall Creator Pro
    Julian82's Avatar
    Join Date
    May 2012
    Location
    outbuddies.com
    Posts
    910
    Mentioned
    44 Post(s)
    Tagged
    0 Thread(s)
    Hey! I made something, it works fine for higher initial rotation speeds (minimum of 20░ step) but I had trouble delaying the deceleration over 180░ for smaller initial speeds. What it does tho is taking the frame rate into account and it makes sure that one rotation is finished within one second. Mabe you can work with it. Code is commented. Cherrs!

    https://www.dropbox.com/s/abzfgcener...ation.mfa?dl=0

  3. #3
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    640
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Hello @Wodjanoi ,

    I made something that I think meets what you're asking for. It doesn't use delta time like Julian's solution, but I think it looks nice if you tweak the speed values of the spinner (LO and HI)

    https://www.dropbox.com/s/31jebcna8w...nner2.mfa?dl=0

    I used a modify range expression to convert the distance the angle has traveled during the final half spin to a value that is in a range between LO speed and HI speed, so it decelerates to LO speed by the end (most likely not the right way to do it, but it works ). If you want the spinner to be be counterclockwise, uncheck the "clockwise" flag.

Similar Threads

  1. Replies: 5
    Last Post: 6th April 2018, 12:49 PM
  2. How do I rotate an object by 90 degrees?
    By alex19735 in forum Fusion 2.5
    Replies: 4
    Last Post: 18th July 2016, 08:28 AM
  3. Finding the Opposite Angle 360 degrees
    By DaveC in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 30th April 2013, 10:43 PM
  4. Making an object spin.
    By Danieledgar in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 8th January 2009, 01:03 AM
  5. How do I make an object spin when it hits a wall?
    By Vackin in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 28th October 2007, 04:48 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
  •