Download

Doing things while object is being line traced.

So i have a a line trace going every frame, right now I have it casting for player controller classes to get a certain variable from them, but now I want to do this for a wide variety of blueprint classes. I’m sure that I want to be running an interface message every frame, especially if the interface on the object being called is calling something intensive. Are there any methods that people use to call a function once on its first line trace and end it when looking away?

I think this is what you are looking for

I forgot that node even existed. :confused: That is going to clean things up a lot. lol