User Tag List

Results 1 to 3 of 3

Thread: shoot an object in a circle at runtime

  1. #1
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    shoot an object in a circle at runtime

    I'd like to shoot an object in a circle that starts at the shooters location and then passes through where the mouse curser is and then returns to the shooter where it will be destroyed. I've tried using circular motion for active objects but don't seem to be able to find a way to control the radius during runtime.
    Any help appreciated.
    Steve

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Nov 2008
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: shoot an object in a circle at runtime

    You'll need math knowledge.

    Add an auxiliary [invisible] object to stand between the source(shooter) and destination(mouse). Use formulas to position it.

    Then, using other formulas (use google or search the forums), make the object circle around the helper object with a radius equal to half the distance between mouse and shooter.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: shoot an object in a circle at runtime

    Thanks for the help. I figured out a way to do it, but it was a pain in the rump. I was hoping there was a simpler way to do it. The advanced direction object was very useful in that it saved me from typing in the formulas for the distance and the angle between the objects.
    Steve

Similar Threads

  1. Circle Object by Zachster
    By Jaffob in forum Released Extensions
    Replies: 2
    Last Post: 4th December 2015, 10:27 PM
  2. How to draw a circle with Surface Object ( Flash )
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 21st September 2012, 03:04 AM
  3. Draw circle algorithmically with surface object
    By keokeo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th March 2011, 01:44 AM
  4. Creating a Transparency Circle Around an Object
    By Vandas in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd February 2010, 04:17 PM
  5. shoot an object
    By taciturn in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 3rd October 2008, 10:53 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
  •