So is possible to make a generic cast node in blueprint?
i tried to make it , but it’s only for actor
this is the blueprint
1 Like
I guess you could. But what you already have there is going to lead to a lot of inefficiency, compared to a normal cast node.
A much better solution is to get better at one of
-
Blueprint inheritance
-
Interfaces
Either way, you can basically avoid casting.
Maybe if you can explain your use case, I can clarify.
So, i made a new generic cast macro
it’s for objects now and it’s won’t lead inefficiency
this is the blueprint
1 Like
just connect wild card pin to object reference