User Tag List

Results 1 to 14 of 14

Thread: Homing missile

  1. #1
    1

    Homing missile

    Hello guys. Another free stuff for you I made today.

    It is homing missile based on projectile class and with some interesting features. It will smoothly rotate and fly toward target actor.

    Video:



    Features:
    • Targeting delay. Projectile starts to rotating toward Target after delay.
    • Rotation speed. You can set speed of rotation of the projectile. You can even set it smoothly increase in order to prevent very fast rotation at start.
    • Acceleration. Projectile will accelerates to it's maximum speed.


    Download: https://yadi.sk/d/-a4whf4Qi46p7
    Min UE version: 4.8.2

    Setup:
    1. Place "HomingMissle" folder into Project/Content
    2. Go to your character/ship/turret and call SpawnActor from class function. Set Class to HomingMissle. Set location of the spawn and rotation (Rotation is very important, since it defines, in which direction missile will fly at start.)
    3. Right after spawn, set Target variable inside spawned missile. Otherwise it will fly straight forward

  2. #2
    0
    Nice,
    I like how you can make it delay, like "Oh, I missed. Ha!! just kidding!!" BOOM!!
    lol.
    Check out my patreon, I'm really excited about it.
    https://www.patreon.com/kinos141

  3. #3
    0
    wow that's great stuff for a ue4 beginner like me, thanks a lot!

  4. #4
    0
    very, Very Coooooooooooool AlFlakky!!!! Thanks


    luny;B

  5. #5
    0
    this is great, saves a huge amount of time and can be applied to so many different kinds of playable characters, thank you!

    I was wondering if you knew how to set the target to an actor (enemy ai) blueprint? I can have it home in on my character but when I try a "get all actors of class" node I have not been so successful.

  6. #6
    0
    I was wondering if you knew how to set the target to an actor (enemy ai) blueprint?
    Yes, I know. I made targeting system for my Advanced Aiming Component. There is many ways, to be honest, but the most simple one is to get all actors of class or with interface, make a loop for output array and find the closest one.

    Like this:


    Btw, that Missile should work very well with Advanced Aim Component I made. Just realized that.

  7. #7

  8. #8
    0
    Quote Originally Posted by AlFlakky View Post
    Based on this homing missile made this:..
    Nice galaxy forming up
    My small game on IndieDB ****** Beams on Twitter ****** Beams on Steam ****** VideoStuff ****** PictureStuff
    UE brings Math back into my life or i am not sure.

  9. #9
    0
    Quote Originally Posted by AlFlakky View Post
    Based on this homing missile made this:



    Dot spawns every 0.5 seconds and follow the previous spawned one.
    Thats really cool, inspired me to start mucking around with the homing missle for artistic purposes

  10. #10
    0
    Thank you ^^

    They simply follow each other, but there is such a cool stuff going on. That is really awesome effect, especially when you know exactly, how each of them works.

  11. #11
    0
    Looks good but im having trouble getting the missile to fly to my target. I followed this tutorial which shows how to shoot with a line but i don't know enough about blueprints to pass the location info to the homing missile?

  12. #12
    0
    Quote Originally Posted by Magneto View Post
    Looks good but im having trouble getting the missile to fly to my target. I followed this tutorial which shows how to shoot with a line but i don't know enough about blueprints to pass the location info to the homing missile?
    Simply set a variable to Hit actor (from line trace hit result) and when you shoot, pass it into missile (there is Target variable, set it with hit actor).

  13. #13
    0
    Thank you so much for this. I had one of my own that I was working on but I trashed it because yours was sooooooo much better lol. Take a look at a noobs work:


  14. #14
    0
    Supporter
    Join Date
    Nov 2016
    Posts
    1
    Dude. Mind=Blown
    Like, H-Bomb

    How the effin hell did you make this

Tags for this Thread

Posting Permissions

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