im using blueprints and i have been working on a melee system for a long time now
and i have tried several different ways to do the trace for melee weapons but using line traces worked the best
but i want the line trace to only fire when the attack is being performed
i have done it so a variable decides that if the line trace should fire or not
but the problem with that is when the player just lifts the weapon to attack it can also damage enemies just like a normal attack which is not realistic
so i wanted to go with anim notifies since those are the way to do it so i can decide from when to when i want the trace to fire
but everything i try to cast to the weapon to get the trace function
the CAST ALWAYS FAILS
i have tried normal notifies and state notifies
but no matter what i do cast always fails
i have tried every possible way i can cast and NOTHING worked
not even interfaces working
after pulling get owner node nothing works
and without that i cant really do anything
but not just that anything that can fail FAILS
is valid node, cast to node, cast to node pure version etc…
everything fails and i have no idea why
i have been struggling with this for DAYS now and im really stressed out because all this mindfuuck
i would say im skilled when it comes to “coding” but what am i supposed to do with this
i would appreciate ANY help like wtf is this why does the cast fails ALWAYS