User Tag List

Results 1 to 3 of 3

Thread: Angle with dangling effect

  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)
    Bree's Avatar
    Join Date
    May 2014
    Posts
    317
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Angle with dangling effect

    Hey guys!!

    I was hoping someone could help me with something.. I know it's gotta be simple but everything I'm trying isn't working so far.

    I have 2 objects, one is fixed and the other is "dangling" off of it. I wanted to do a sort of angle rotation thing but not all the way around the object, just partially back and forth on the bottom so it's like it's dangling.. if that makes sense

    I started out with:

    Always set angle to Angle("object")+1 and that works great where it rotates around the object, except I wanted it to stop and reverse so it doesn't circle around completely. I tried doing something like Angle("object)>=90 / Always ... Angle("object")-1 thinking it would reverse once it hit 90 degrees but it doesn't it just stops.

    Any idea how I could get that type of effect using Angles?

    Thanks all!

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Use a flag. When the objects angle hits either 0 degrees or 180, toggle flag 0 in your rotating object. If flag 0 is on then add +1 to the angle of the object. If flag 0 is off then -1 to the angle of the object. You could also look into trigonometry for rotating an object around another object (like the planets orbiting the sun), however restrict the angles so it only sways from left to right.

  3. #3
    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)
    Bree's Avatar
    Join Date
    May 2014
    Posts
    317
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Thanks Sumo! That's exactly what I should have been doing in the first place instead of messing with a bunch of Always I appreciate the help and got it to work!

Similar Threads

  1. 2 effect shader?? is it posable Blur's then Add effect
    By Darkseed in forum Hardware Accelerated Runtime
    Replies: 0
    Last Post: 7th March 2015, 04:31 AM
  2. angle
    By nick_Peoples in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 16th March 2010, 12:45 AM
  3. Programming a dangling balloon string...
    By Adam in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 9th August 2009, 03:23 PM
  4. Angle?
    By Iharmi in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 28th October 2008, 03:20 AM
  5. Explosion effect - possible with particle effect?
    By MediYama in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th April 2008, 08:36 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
  •