x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Multiple homing rocket launcher

I have a missile turret where I want to fire Multiple homing rockets from for multiple targets what I now have is a multi box trace for object where I get the amount of hit actors and it fires the right amount of rockets from th arrows but I need to know how to give my rockets the targets. At max it can fire 8 rockets in 1 go but it can stil fire less if there are not 8 targets in sight. My rocket bp is a simple sphere with impuls and collision

Can sombody help me with the homing aspect of my rocket. Thanks alt text

alt text

alt text

Product Version: UE 4.22
Tags:
mesh.jpg (48.2 kB)
bp1.jpg (139.9 kB)
bp2.jpg (228.0 kB)
more ▼

asked Jul 11 '19 at 01:21 PM in Blueprint Scripting

avatar image

Wcroll2221
1 1 2

avatar image Przemek2222 5 days ago

Find your actor I don't know how do you want to do then add projectile movement. It has homing feature.

avatar image Wcroll2221 5 days ago

I use a multiBoxTraceForObjects so I get multiple actors but I need to know how to set them as homing targets I want to fire missiles at all targets hit by the trace except for when there are more than 8 than I only want to fire 8 rockets to 8 targets i have never worked with arrays before so don't know a lot about it

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey,

take a look at this thread, it's exactly what you want:

https://answers.unrealengine.com/questions/202501/how-to-configure-a-homing-projectile.html

Have fun

more ▼

answered Jul 11 '19 at 08:33 PM

avatar image

Przemek2222
431 4 10 14

avatar image Wcroll2221 4 days ago

How does it work? Because I do not get how to do it i need to get the actors my multiboxtrace hits and set al the ones that are hit to homing targets

avatar image Przemek2222 4 days ago

If you don't know how to hit targets then I would suggest something:

Place collider that will collide with actor you want (collision settings) set generate overlap events bind event to on begin overlap and use some hit function to subtract health from enemy. If you don't have such system for health you will probabaly need to create one.

Is that clear engouh now?

avatar image Wcroll2221 4 days ago

I am not using it for a game or such I am just making it for on my portfolio and i'm also not realy the best with BP so some things i still don't get i just need to make the array of actors i get from my multiboxtrace to cast to my homing projectile that is the part where i'm stuck

avatar image Wcroll2221 3 days ago

It works i found a way to make it work but thanks for helping

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question