Hey, so I have a pretty great missile lock on system for this project i’m working on, or at least it worked perfectly when I was targeting boxes.
I imported a static mesh to use as a dummy for testing purposes, I then used the dummy to make a blueprint so that I could add health.
(BP Setup & content)
But, When I try to target it with my homing missile code, the line trace recognizes and plays nice with my Dummy, but when I break the hit result, and try to cast the Hit actor to a static mesh actor, the cast fails every time, even though the only thing in the object is a static mesh?
My targeting blueprint:
The issue seems to be between my Hit actor and cast, but i have no idea how to begin solving this.