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"

Simple Homing Projectile Target

Hello, I'm trying to get my projectile to home in on a specific static mesh BP in scene. I have been directed to a homing tutorial on youtube but the video uses a line trace to select its target and no matter how I try to work around it, I can't seem to get it to home in on a specific mesh automatically. Please help.

Product Version: UE 4.18
Tags:
more ▼

asked Jan 02 '18 at 08:26 AM in Blueprint Scripting

avatar image

Grey27
41 8 12 15

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

1 answer: sort voted first

You can use the "Projectile Movement Component" It has a homing feature. After viewing this youtube video I was able to figure out how to get a homing system up and running.

more ▼

answered Jan 02 '18 at 09:26 AM

avatar image

SouthBot
51 1 5

avatar image Grey27 Jan 02 '18 at 11:07 AM

Oh ok, will check it out as soon as I'm back home. Thank you so much for your time. Will give you feedback after I've tried it.

avatar image ThompsonN13 Jan 05 '18 at 05:09 AM

you could try using a get all actors of class when the projectile is created then having logic to decide which to target. For example you could get all actors of class player then have logic to find the closest one and have the target set to it. Essentially it would give you an array and you just have to set which index to get and set it as your target.

(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