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 Object, 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.
Any advice would be appreciated!