User Tag List

Results 1 to 5 of 5

Thread: Smooth rotation of objects?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Mar 2013
    Posts
    264
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smooth rotation of objects?

    I want to be able to rotate objects smoothly without the choppiness that comes with the 32 directions an object can look in.

    Example: I want the light from my flashlight to smoothly rotate towards where the mouse-cursor is on-screen.

    I have currently attached the flashlight object to my character and it is always looking in the direction of the mouse-cursor. But it uses the 32-directions when rotating, so the turns become very choppy. Any way of solving this by using "angle" or something like that?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Setting the object's angle is definitely the way to go. The Advanced Direction Object would be the easiest way of making it look towards your mouse pointer, by using the "direction of two points" expression (it was called something like that, anyway).

  3. #3
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    There are some open source 360 rotation examples on my website.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Mar 2013
    Posts
    264
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks guys.
    i'll have a look on your site nivram.

    will return here if i have any more questions about the angles or the advanced direction object (never used it before)

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Mar 2013
    Posts
    264
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, so I looked at the Advanced Direction Object example file that comes with the extension.
    I made this: https://www.dropbox.com/s/xjzwes0igy...ght%20test.mfa but can't really see any difference from before.
    When it comes to coding stuff like this im often really lost so I think that i've approached this in the wrong way.

    You mentioned something about "direction between two points" happy, but unfortunally I was unable to find any good example files that helped me with that.




    EDIT: okay, there, got the proper link up

Similar Threads

  1. Smooth Rotation
    By D_Light in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 6th January 2013, 02:09 AM
  2. smooth rotation
    By Bogeyman in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 20th November 2011, 10:31 AM
  3. Getting Smooth Rotation
    By drnebula in forum File Archive
    Replies: 0
    Last Post: 27th March 2010, 12:22 AM
  4. Smooth rotation
    By krestalex1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 20th December 2007, 05:03 PM
  5. Smooth car rotation
    By gregw in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 17th January 2007, 01:44 AM

Posting Permissions

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