I watched a recent tutorial on this forum on how to set projectile to become a homing projectile. Well, in the video he just targets a static mesh actor through a line trace using a cast-to-static-mesh-actor. I tried playing around with the idea. I wanted homing to be set to a mesh component inside of a blueprint. The blueprint just really has only one component, the static mesh and is placed inside of my level. I can’t figure out how to extract the reference to the static mesh so I can use it with the set-homing-target. The set-homing-target takes Scene Component Weak , I have no idea what that means. I do know it seems to only accept static mesh component reference. So how the hell do I get static mesh component reference from an Actor Blueprint. I tried using cast-to-static-mesh-actor, but the cast fails, I tried to get-static-mesh-component attached to my blueprint actor reference, but the connection breaks. Eventually I want to figure out how to set homing target to an ai bot, but for now I just want to figure out how to target a blueprint actor.
I also had issues with homing projectiles. The video is using 4.7, and the Homing Target variable looks to be of type static mesh. It is now Scene Component Weak . I have tried plugging in a static mesh, it won’t take it (obviously). I have tried using a scene component, which plugs in fine but does not actually work in testing. My solution was to set the actor transform every tick moving towards the target. Depending on the speed of the projectile, you may actually still miss the target. Also it should be noted that it will instantly begin moving towards the target. Might be useful to include a sort of delay on the transform to give it to move away from the person firing it.