Announcement

Collapse
No announcement yet.

Homing target component

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Homing target component

    How to set homing target component on the projectile? I've been trying to find it out in the documentation, forum or aswerhub but cant find anything about it.

    #2
    I have found it in the blueprint (just drag out a line from the projectile movement node) but what kind of input do I give it? I tried player pawn but that doesnt work.

    Comment


      #3
      IIRC, it needs a reference to a component. I'm not at my home computer, but I think I managed it by getting a reference to a BP I wanted to home in on. Then from the BP variable I got a reference to a component within that BP. Not sure if that is the best way to do it, but it worked for me.

      Comment


        #4
        Here's my quick fix

        Originally posted by gonzamancg View Post
        How to set homing target component on the projectile? I've been trying to find it out in the documentation, forum or aswerhub but cant find anything about it.
        It's a pretty simple combo of making the scene component you need for a target at the beginning of play attached to the player. Once you have that you can set that to be a compatible variable for you to use with the homing component. I checked on tick to make sure to reposition the added scene to the players location. Sorry for just now seeing this post.

        Click image for larger version

Name:	homing01.JPG
Views:	1
Size:	124.9 KB
ID:	1097773

        Click image for larger version

Name:	homing02.JPG
Views:	1
Size:	116.8 KB
ID:	1097774

        Comment

        Working...
        X