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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Homing Projectile not homing to enemy.

Hi guys,

So I was making a homing projectile to test out the feature as I'd never used it before, and when I tried getting it to home in on the enemy it doesn't fire. Here's the blueprint:

alt text

What it's doing is getting the player's character (it's a multiplayer game) and spawns the projectile slightly in front of the character. It should set the homing target to be my enemy character, but instead it just fires forward.

Any ideas would be helpful. Thanks.

Product Version: Not Selected
homing weapon.png (113.9 kB)
more ▼

asked Apr 10 '15 at 02:55 PM in Blueprint Scripting

avatar image

7 3 3 7

avatar image ArcainOne Apr 10 '15 at 03:53 PM

Well I am not too familiar with the internals of the Homing Projectile (not sure if it is part of UE4 or if you built it custom) but I do know the ProjectileMovementComponent requires a target set with "HomingTargetComponent" and setting bHomingProjectile to true. If that is not being set in your Homing Weapon Actor... I know it's kind of an "Is your computer plugged in answer" but usually in UE4 when things don't work it is usually something "stupid" as I always say (something small and dumb that I forgot to do like flipping on a bool flag). Of course it could also be a bug...

avatar image J_Issa1 Apr 10 '15 at 04:31 PM

The homing weapon is set to true. And it's a built in UE4 thing.

I believe the 'Homing Target Component' has to be a scene component, hence the mesh being passed in. Yet it still only fires forward.

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

1 answer: sort voted first

You also have to set 'Homing Acceleration Magnitude'. If that is 0, then it will have no acceleration towards the target. I'm assuming you have 'IsHomingProjectile' set to true before setting the Target.

more ▼

answered May 28 '15 at 08:08 PM

avatar image

169 10 14 20

avatar image Akim91 Nov 13 '15 at 04:12 AM

Thanks a lot for this.

I had mine set to one thinking it would be enough, but it wasnt. I boosted it to a higher value and my missles are now homing.


(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