User Tag List

Results 1 to 5 of 5

Thread: Guided Missle-point at and fly towards moving obj?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Guided Missle-point at and fly towards moving obj?

    I'm trying to launch a missile that will point at and move towards a moving object.

    I can't manage to pull it off.

    I'd like to set the clickteam movement object put gravity on the target, then have gravity affect my missile which would of course be pulled in at an increasing speed. That part I think I can do.

    I'm not sure how to get that missile to aim (point) at the target. is there a way to set the angle towards the target?

    Thanks!

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Guided Missle-point at and fly towards moving

    Do you mean to instantly point at a target, or rotate around a certain amount at a time to face it?

    To do the latter, what you need is the advanced direction object, and there is an expression that will do that. You simply give it the current angle, the end angle, and the rate to rotate at.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Guided Missle-point at and fly towards moving

    otherwise, for a direct pointing, no-nonsense type of missle - make it a ball movement object, then some event that says like:

    Every 0'10"(one tenth of a second) --> (missile) look in direction of (target object)

    that should give the effect of it heading immediately to the target, with no chance of heading anywhere else.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Guided Missle-point at and fly towards moving

    Chaos, thanks... that may work and I'll try it.

    LazyCoder: I was thinking that at first, when the missile is launched it would start out going str8 then curve towards the target... but realistically, it might not be a large enough play area anyway... but can you get the angle from the target to set the end angle? the target will be moving, always.

    Thanks both of you for offering your help!

  5. #5
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Apr 2008
    Location
    California
    Posts
    357
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Guided Missle-point at and fly towards moving

    Chaos, shouldn't the condition be "always"? I find that the "every" condition creates lag for some reason. Other than that, there is nothing else to comment on, everything will work so you don't need to heed my words.

Similar Threads

  1. Lines like in Missle Command....
    By Duncki in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 25th September 2014, 07:27 AM
  2. From point A to a very fast point B?
    By PandaExplosion in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 26th July 2011, 06:35 PM
  3. Moving Platforms under Floating Point Movement?
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 10th February 2010, 06:18 AM
  4. Defcon missle system?
    By Robin_Manager in forum Multimedia Fusion 2 - Technical Support
    Replies: 23
    Last Post: 12th January 2009, 06:12 PM
  5. Help! - Moving from Point A to Point B - arched.
    By Conno in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 23rd April 2008, 07:15 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
  •