User Tag List

Results 1 to 3 of 3

Thread: Making a launched object face where it was aimed at

  1. #1
    Clicker Fusion 2.5
    TheHandwovenBox's Avatar
    Join Date
    Mar 2018
    Location
    Kentucky, USA
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making a launched object face where it was aimed at

    Hello, I am wondering how to make a launched object face towards where it was aimed at, for example, if an object is launched towards another object that is attached to the mouse, and the mouse was in the upper right area of the screen, I would want the object, a red line like a laser for example, to be rotated (using the angle value) to point exactly at the mouse object, but without rotating once it was launched. Is there an existing tutorial? Any help is greatly appreciated.

  2. #2
    Clicker 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)Universal Windows Platform Export Module (Steam)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,297
    Mentioned
    94 Post(s)
    Tagged
    0 Thread(s)
    I'm a visual person, so explaining things visually is easier for me.

    So, we have a bullet, and I'm assuming it has 32 angles set in its movement properties. So, we know the direction it's going in, in terms of a 32-directional scale. But we need to convert that to a 360 degree scale. That's actually fairly straightforward, as you can see here:



    So all we need to do is set the angle of the bullet to the direction of the bullet multiplied by 11.25, like this:



    FYI: this will probably only work properly if your bullet has only once direction in its animation (If it has several different directions specified inside the animation, you'll probably need to adjust the equation this way or that for it to work in all directions)

  3. #3
    Clicker Fusion 2.5
    TheHandwovenBox's Avatar
    Join Date
    Mar 2018
    Location
    Kentucky, USA
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, very helpful!

Similar Threads

  1. Any way to stop a launched object?
    By Del_Duio in forum Fusion 2.5
    Replies: 8
    Last Post: 29th July 2018, 05:18 PM
  2. Help making events for launched objects
    By DanceWithTheDevil in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd January 2016, 08:24 PM
  3. Can't stop a launched object.
    By LemonyLime in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th October 2012, 05:59 PM
  4. how to control a launched object
    By wizlore in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd September 2012, 07:55 PM
  5. Change speed of launched object
    By ST in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 12th April 2012, 10:43 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
  •