I’ve been working on a 3D point and click game, like maniac mansion, and I traced the mouse position in my Controler BP, on mouse input. But i can’t seem to tranfer the hit actor value to any other BP. I’ve tried Dispatcher events, interface, casting to BP, setting variables, but nothing works. I always get empty variable value on the other BP.
I tried Tracing on different BPs and i still cant share the results.
In the end, i had to trace repeatedly on all/each my BPs, and it works, but i would like to know if there is a simpler way.
Everything that is no value type (like int, float etc.) must have a copy constructor if you want to pass a copy. Otherwise it has to be passed as Reference.
I have Tried setting to variable before, as suggested, but not passing as reference. Using an interface BP, i tried using with an input/output nod transfer, but EU4 doesnt accept, since the output in my HUD_BP has an empty entrace pin. Then i tried as a event and i get the same null value again.
So far, only tracing on the same BP has done the trick.
Thanks for the suggestion, as it’s going to be very usefull for some other ideas of mine.