Announcement

Collapse
No announcement yet.

Anybody can help me with homing missile spell?

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

    Anybody can help me with homing missile spell?

    I am trying to create homing missile type of magic spell.
    I am finding the enemy with LineTraceForObjects(). after hours of debugging I still can't get it to working. I was following this - (https://www.youtube.com/watch?v=TCkFqSOdw6M) tutorial.

    I have included screenshots of my BluePrints - (https://imgur.com/a/lCbi5).

    1st image of targeting enemy

    2nd image of spawning missiles

    3rd image of HomingMissile function

    Please tell what is wrong?

    #2
    Originally posted by FaultyCarry View Post
    I am trying to create homing missile type of magic spell.
    I am finding the enemy with LineTraceForObjects(). after hours of debugging I still can't get it to working. I was following this - (https://www.youtube.com/watch?v=TCkFqSOdw6M) tutorial.

    I have included screenshots of my BluePrints - (https://imgur.com/a/lCbi5).

    1st image of targeting enemy

    2nd image of spawning missiles

    3rd image of HomingMissile function

    Please tell what is wrong?
    1. Use projectile movement component
    2. In PMC, set checkbox homing missile (or is homing) to true
    3. On spawn projectile (spell) set homing target component of your target, i think it must be scene component like mesh, or create dummy scene component in target actor and set its position to head or body or where you want

    Comment

    Working...
    X